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:
parent
a2b753f630
commit
3fbe03175e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user