-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error authenticating the Cloud SDK when using Workload Identity Federation #282
Comments
I'm able to deploy using
|
Hi @kkr16 Thank you for opening an issue.
|
Oh actually, I see it now. Can you add |
Thank you for your quick response Seth! :)
I tried pinning
Did that - the auth step passes without issues.
Just tried it - no changes. |
Issue is fixed - I had to pin to v0 AND put actions/checkout@v2 as the first step - I had tested the changes independently of each other. Can confirm that the below works great:
Thanks @sethvargo ! |
TL;DR
I'm trying to use Workload Identity Federation, I'm using it as described in issue #248 (comment) but still get
Error: Error authenticating the Cloud SDK.
when running the workflow.I believe my auth setup is correct, because I'm able to build my image and push it to GCR using the same auth steps.
Expected behavior
google-github-actions/deploy-cloudrun should be able to deploy to Cloud Run using Workload Identity Federation
Observed behavior
google-github-actions/deploy-cloudrun fails the deployment to Cloud Run with an authentication error:
Error: Error authenticating the Cloud SDK.
Action YAML
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: