Skip to content

Commit 50a3df5

Browse files
Using WORKLOAD_IDENTITY_PROVIDER and Project as secrets.
1 parent 45b445a commit 50a3df5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/vertx-parent.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Authenticate to Google Cloud
2222
uses: google-github-actions/auth@v2
2323
with:
24-
project_id: 'som-rit-infrastructure-prod'
25-
workload_identity_provider: 'projects/294515190965/locations/global/workloadIdentityPools/github/providers/susom-github'
24+
project_id: ${{ secrets.WORKLOAD_IDENTITY_PROJECT }}
25+
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
2626
create_credentials_file: true
2727
export_environment_variables: true
2828
cleanup_credentials: true
@@ -83,8 +83,8 @@ jobs:
8383
- name: Authenticate to Google Cloud
8484
uses: google-github-actions/auth@v2
8585
with:
86-
project_id: 'som-rit-infrastructure-prod'
87-
workload_identity_provider: 'projects/294515190965/locations/global/workloadIdentityPools/github/providers/susom-github'
86+
project_id: ${{ secrets.WORKLOAD_IDENTITY_PROJECT }}
87+
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
8888
create_credentials_file: true
8989
export_environment_variables: true
9090
cleanup_credentials: true

0 commit comments

Comments
 (0)