Skip to content

build: update go and dependencies #9

build: update go and dependencies

build: update go and dependencies #9

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/auth@v1
id: auth
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
token_format: access_token
- uses: docker/login-action@v2
with:
registry: us-docker.pkg.dev
username: oauth2accesstoken
password: ${{ steps.auth.outputs.access_token }}
- uses: docker/login-action@v2
with:
registry: registry.moonrhythm.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: docker/setup-buildx-action@v2
with:
version: latest
platforms: linux/amd64
- uses: docker/build-push-action@v4
with:
provenance: false
build-args: |
VERSION=${{ github.ref_name }}
GOAMD64=v3
push: true
tags: |
us-docker.pkg.dev/moonrhythm-containers/gcr.io/parapet-ingress-controller:${{ github.ref_name }}
us-docker.pkg.dev/moonrhythm-containers/gcr.io/parapet-ingress-controller:latest
registry.moonrhythm.io/parapet-ingress-controller:${{ github.ref_name }}
registry.moonrhythm.io/parapet-ingress-controller:latest
- uses: docker/build-push-action@v4
with:
provenance: false
build-args: |
VERSION=${{ github.ref_name }}
GOAMD64=v1
push: true
tags: |
us-docker.pkg.dev/moonrhythm-containers/gcr.io/parapet-ingress-controller:${{ github.ref_name }}-amd64v1
us-docker.pkg.dev/moonrhythm-containers/gcr.io/parapet-ingress-controller:latest-amd64v1
registry.moonrhythm.io/parapet-ingress-controller:${{ github.ref_name }}-amd64v1
registry.moonrhythm.io/parapet-ingress-controller:latest-amd64v1