Skip to content

Commit 99b1bde

Browse files
committed
UPD: change token format
1 parent 3b8edd9 commit 99b1bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
uses: 'google-github-actions/auth@v2'
3737
with:
3838
create_credentials_file: true
39-
token_format: "access_token"
39+
token_format: "id_token"
4040
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
4141
service_account: ${{ secrets.GCP_DEPLOY_SA }}
4242

4343
- name: "Login to GAR"
4444
id: 'login-gar'
4545
uses: docker/login-action@v3
4646
with:
47-
registry: ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}
47+
registry: ${{ secrets.GCP_REGION }}-docker.pkg.dev
4848
username: oauth2accesstoken
4949
password: ${{ steps.auth.outputs.access_token }}
5050

0 commit comments

Comments
 (0)