{"repo":"actions-hub/gcloud","free":true,"listed":false,"github":"https://github.com/actions-hub/gcloud","clone":"git clone https://github.com/actions-hub/gcloud.git","description":"GitHub Action for interacting with Google Cloud Platform (GCP)","language":"Shell","stars":241,"topics":["gcloud","gcp","google-cloud-platform","action","github-actions","gke","gsutil"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"gcloud GitHub Action which allows interacting with Google Cloud Platform. Usage To use gcloud in your workflow use: You can also use gsutil from Google Cloud SDK package. You can also use kubectl from Google Cloud SDK package. Secrets APPLICATION CREDENTIALS - To authorize in GCP you need to have a service account key. The recommended way to store the credentials in the secrets it previously encode file with base64. To encode a JSON file use: base64 / .json . Or you can put a JSON structure to the secret. PROJECT ID - must be provided to activate a specific project. Using access tokens Alternatively, you can set the environment variable CLOUDSDK AUTH ACCESS TOKEN to a valid OAUTH token; this allows the step to be used with Workload Identity Federation. Two important notes: 1. If CLOUDSDK AUTH ACCESS TOKEN is set, it will override any other auth configuration 2. The gsutil command does not support the CLOUDSDK AUTH ACCESS TOKEN variable; use gcloud storage to interact with GCS. Inputs args - command to run. cli - (optional) command line tool you want to use. Defaults to gcloud , allowed values: gcloud , gsutil . Version For each new release of gcloud master branch is updated to the latest version. Also, the tag is creating with the same number as the gcloud version. If you want to always have the latest version of gcloud, use @master branch. But if you need some specific version of gcloud just use a specific tag. For example @271.0.0 . Example Latest version Multistep Specific","default_branch":null,"files":null,"tree":[],"storefront":"/r/actions-hub","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/actions-hub/gcloud/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}