Skip to content

Commit cfb98a8

Browse files
Update deploy-builder-api.yml
1 parent 427c3eb commit cfb98a8

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/deploy-builder-api.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,27 @@ jobs:
5454
steps:
5555
- name: 'Checkout'
5656
uses: 'actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332' # actions/checkout@v4
57-
58-
- name: 'Set up Google Cloud SDK'
59-
uses: 'google-github-actions/setup-gcloud@v1'
57+
6058

6159
# Configure Workload Identity Federation and generate an access token.
6260
#
6361
# See https://github.com/google-github-actions/auth for more options,
6462
# including authenticating via a JSON credentials file.
6563
- id: 'auth'
6664
name: 'Authenticate to Google Cloud'
67-
uses: 'google-github-actions/auth@v3'
65+
uses: 'google-github-actions/auth@v2'
6866
with:
6967
workload_identity_provider: '${{ env.WORKLOAD_IDENTITY_PROVIDER }}'
7068
service_account: cicd-build-deploy-api@benefit-decision-toolkit-play.iam.gserviceaccount.com
7169
project_id: ${{ env.PROJECT_ID }}
7270

73-
- name: Who am I?
74-
run: gcloud auth list
71+
- name: 'Set up Cloud SDK'
72+
uses: 'google-github-actions/setup-gcloud@v2'
73+
74+
- name: 'Verify Authentication'
75+
run: |
76+
gcloud auth list
77+
gcloud config list project
7578
7679
# BEGIN - Docker auth and build
7780
#

0 commit comments

Comments
 (0)