-
Notifications
You must be signed in to change notification settings - Fork 114
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
Allow workflow federation credential files #248
Comments
Hi @steveoh We're working to update the documentation, but this should just work today if you use the latest |
That didn't work for firebase or gcloud... I guess I assumed it wouldn't work here either. Do you have a successful workow demo I can see the results? |
For deploycr:
runs-on: 'ubuntu-latest'
permissions:
contents: 'read'
id-token: 'write'
steps:
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0.4.0'
with:
workload_identity_provider: 'WIF_PROVIDER'
service_account: 'SA_EMAIL'
- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@main
with:
service: hello-cloud-run
image: gcr.io/cloudrun/hello should work. I am not sure about firebase though. |
Yup, this definitely works. thanks! |
TL;DR
I would like to use a federated credential file from the google-github-actions/auth workflow to authenticate this workflow
Design
Action YAML
The text was updated successfully, but these errors were encountered: