setup-gcloud/cli
2019-01-18 14:55:09 +00:00
..
script Initial commit 2018-10-16 07:49:23 -07:00
test Initial commit 2018-10-16 07:49:23 -07:00
.dockerignore Initial commit 2018-10-16 07:49:23 -07:00
Dockerfile Initial commit 2018-10-16 07:49:23 -07:00
entrypoint.sh Initial commit 2018-10-16 07:49:23 -07:00
LICENSE Initial commit 2018-10-16 07:49:23 -07:00
Makefile Initial commit 2018-10-16 07:49:23 -07:00
README.md update READMEs 2019-01-18 14:55:09 +00:00
THIRD_PARTY_NOTICE.md Initial commit 2018-10-16 07:49:23 -07:00

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.