Skip to content

Commit

Permalink
Use Google auth action for WIF
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Jun 26, 2024
1 parent 60ea981 commit c71ce59
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ jobs:
python-version: "3.8.x"
architecture: "x64"

- id: gcauth
name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
- id: auth
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0.4.0'
with:
credentials_json: ${{ secrets.GCLOUD_AUTH }}
workload_identity_provider: 'projects/354656325390/locations/global/workloadIdentityPools/test-wif-pool/providers/test-provider'
service_account: '[email protected]'

- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
Expand Down

0 comments on commit c71ce59

Please sign in to comment.