Skip to content

Commit 045d95c

Browse files
committed
fix: add service_account to Google Auth for Artifact Registry access
1 parent 61cbe76 commit 045d95c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
uses: google-github-actions/auth@v2
3939
with:
4040
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
41+
service_account: github-actions-deploy@${{ secrets.PROJECT_ID }}.iam.gserviceaccount.com
4142
project_id: ${{ secrets.PROJECT_ID }}
4243

4344
- name: Set up Cloud SDK
@@ -80,6 +81,7 @@ jobs:
8081
uses: google-github-actions/auth@v2
8182
with:
8283
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
84+
service_account: github-actions-deploy@${{ secrets.PROJECT_ID }}.iam.gserviceaccount.com
8385
project_id: ${{ secrets.PROJECT_ID }}
8486

8587
- name: Set up Cloud SDK

0 commit comments

Comments
 (0)