Skip to content

Bump golang.org/x/sys from 0.0.0-20200420163511-1957bb5e6d1f to 0.1.0 #6

Bump golang.org/x/sys from 0.0.0-20200420163511-1957bb5e6d1f to 0.1.0

Bump golang.org/x/sys from 0.0.0-20200420163511-1957bb5e6d1f to 0.1.0 #6

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
tags:
- "*"
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build container
uses: docker/build-push-action@v5
with:
context: .
push:
if: github.event_name != 'pull_request'
needs:
- container
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Determine SHA
id: sha
run: echo "::set-output name=sha::$(git describe --always --tags --dirty)"
- name: Build and push
id: push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/arm64, linux/amd64
tags: quay.io/observatorium/namespace-provisioner:latest, quay.io/observatorium/namespace-provisioner:${{ steps.sha.outputs.sha }}
- name: Determine digest
run: echo ${{ steps.push.outputs.digest }}