We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7d979 commit 9556d58Copy full SHA for 9556d58
.github/workflows/build-publish.yaml
@@ -60,6 +60,14 @@ jobs:
60
service_account: artifact-writer@${{ env.GCP_PROJECT_ID }}.iam.gserviceaccount.com
61
workload_identity_provider: ${{ vars.GCPV2_GITHUB_WORKLOAD_IDENTITY_PROVIDER }}
62
63
+ - name: Login to GAR
64
+ uses: docker/login-action@v3
65
+ if: github.event_name != 'pull_request'
66
+ with:
67
+ registry: ${{ env.GAR_LOCATION }}-docker.pkg.dev
68
+ username: oauth2accesstoken
69
+ password: ${{ steps.gcp_auth.outputs.access_token }}
70
+
71
- name: Login to Docker Hub
72
if: github.event_name != 'pull_request'
73
uses: docker/login-action@v3
0 commit comments