leandrotoledo / blog

0 stars 0 forks source link

https://blog.leandrotoledo.org/deploying-google-cloud-run-using-github-actions-and-workload-identity-authentication/ #6

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Deploy Docker images on Google Cloud Run using GitHub Actions and Workload Identity Authentication

In this article, we will cover how to create a Workload Identity that works with GitHub Actions while deploying a simple Google Cloud Run service

https://blog.leandrotoledo.org/deploying-google-cloud-run-using-github-actions-and-workload-identity-authentication/

pdemul commented 1 year ago

This is great, thanks. Everything worked (once I started executing the commands in the cloud shell and not on my M1 mac), except for the final command:

ERROR: (gcloud.run) Invalid choice: 'add-iam-policy-binding'.
Maybe you meant:
  gcloud iam service-accounts add-iam-policy-binding
  gcloud run jobs add-iam-policy-binding
  gcloud run services add-iam-policy-binding
  gcloud access-approval requests approve
  gcloud iam service-accounts create
  gcloud iam service-accounts delete
  gcloud iam service-accounts describe
  gcloud iam service-accounts disable
  gcloud iam service-accounts enable
  gcloud iam service-accounts get-iam-policy

To search the help text of gcloud commands, run:
  gcloud help -- SEARCH_TERMS
leandrotoledo commented 3 weeks ago

@pdemul good catch, and sorry for the delay responding, but the command has been updated to:

gcloud run services add-iam-policy-binding