Skip to content

Commit

Permalink
Update actions. (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Feb 26, 2024
1 parent fbe89a5 commit 88539e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
with:
go-version-file: 'go.mod'

- uses: google-github-actions/auth@v1
- uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1
uses: google-github-actions/setup-gcloud@v2

- name: Make tag
run: |
Expand All @@ -90,15 +90,15 @@ jobs:
make build GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }}
- name: Log in to the container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
if: ${{ matrix.os == 'linux' && matrix.arch == 'amd64' }}

- name: Build and push image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down

0 comments on commit 88539e5

Please sign in to comment.