Skip to content

Commit

Permalink
Adding Docker auth
Browse files Browse the repository at this point in the history
  • Loading branch information
langerae committed Sep 20, 2024
1 parent 89fa244 commit 0046860
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/metocean-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ jobs:
uses: 'google-github-actions/auth@v0'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: 'Docker Auth'
uses: 'docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567' # docker/login-action@v3
with:
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.auth_token }}'
registry: 'europe-west4-docker.pkg.dev'

- name: 'Build and Push Container'
run: |-
Expand Down

0 comments on commit 0046860

Please sign in to comment.