From 0046860f2b82bb0db11ec41721c33d04a142352c Mon Sep 17 00:00:00 2001 From: langerae Date: Fri, 20 Sep 2024 11:53:15 +0200 Subject: [PATCH] Adding Docker auth --- .github/workflows/metocean-deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/metocean-deploy.yml b/.github/workflows/metocean-deploy.yml index ec58bfa..6c32eb5 100644 --- a/.github/workflows/metocean-deploy.yml +++ b/.github/workflows/metocean-deploy.yml @@ -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: |-