Skip to content

Commit 390f89d

Browse files
committed
Use secrets for GCP authentication parameters
- Change to use GCP_WORKLOAD_IDENTITY_PROVIDER secret - Change to use GCP_SERVICE_ACCOUNT secret - Provides centralized configuration management
1 parent aeba97c commit 390f89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-catalog-gcp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
- name: Authenticate to Google Cloud
8080
uses: google-github-actions/auth@v2
8181
with:
82-
workload_identity_provider: 'projects/736624225747/locations/global/workloadIdentityPools/github-actions-pool/providers/github-provider'
83-
service_account: '[email protected]'
82+
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
83+
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
8484

8585
- name: Set up Cloud SDK
8686
uses: google-github-actions/setup-gcloud@v2

0 commit comments

Comments
 (0)