Skip to content

Latest commit

 

History

History
 
 

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 thin wrapper around the gcloud utility.

Usage

An example workflow to list clusters on Google Cloud Platform:

workflow "Run gcloud command" {
  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 auth.

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.