Skip to content

Commit

Permalink
fix: directly add wip and service acc in the action
Browse files Browse the repository at this point in the history
  • Loading branch information
harshalranjhani committed Jun 25, 2024
1 parent 1b3736a commit 19dce25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/google-cloudrun-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
id: auth
uses: 'google-github-actions/auth@v0'
with:
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - [email protected]
# workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
workload_identity_provider: projects/1043689479111/locations/global/workloadIdentityPools/github-auth/providers/github-action
# service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - [email protected]
service_account: github-actions-for-nest-backen@athena-415810.iam.gserviceaccount.com

# NOTE: Alternative option - authentication via credentials json
# - name: Google Auth
Expand Down

0 comments on commit 19dce25

Please sign in to comment.