setup-gcloud/cli/README.md
2019-01-18 14:55:09 +00:00

998 B

GitHub Action for Google Cloud

The GitHub Actions for Google Cloud Platform and wraps the gcloud SDK to enable common Google Cloud commands. This is a very thin wrapper around the gcloud utility.

Usage

An example workflow to list clusters on Google Cloud Platform:

workflow "Run gcloud Login" {
  on = "push"
  resolves = "Load credentials"
}

action "GCP Authenticate" {
  uses = "actions/gcloud/auth@master"
  secrets = ["GCLOUD_AUTH"]
}

action "GCP List Clusters" {
  needs = ["GCP Authenticate"]
  uses = "actions/gcloud/cli@master"
  args = "container clusters list"
}

For more information about the authentication step, (see cli).

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.