doc: Fix token_format in readme. (#138)

https://github.com/google-github-actions/auth/blob/main/action.yml#L136-L139
This commit is contained in:
Charles Sullivan 2022-02-14 10:37:07 -07:00 committed by GitHub
parent a2b753f630
commit 3fbe03175e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -440,7 +440,7 @@ jobs:
name: 'Authenticate to Google Cloud' name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0' uses: 'google-github-actions/auth@v0'
with: with:
token_format: 'access_token' # <-- token_format: 'id_token' # <--
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
service_account: 'my-service-account@my-project.iam.gserviceaccount.com' service_account: 'my-service-account@my-project.iam.gserviceaccount.com'
id_token_audience: 'https://myapp-uvehjacqzq.a.run.app' # required, value depends on target id_token_audience: 'https://myapp-uvehjacqzq.a.run.app' # required, value depends on target