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 Auth

The GitHub Actions for Google Cloud Platform and wraps the gcloud SDK to enable common Google Cloud commands.

Usage

An example workflow to authenticate with Google Cloud Platform and run the gcloud command:

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

action "Setup Google Cloud" {
  uses = "docker://github/gcloud-auth"
  secrets = ["GCLOUD_AUTH"]
}

action "Load credentials" {
  needs = ["Setup Google Cloud"]
  uses = "docker://github/gcloud"
  args = "container clusters get-credentials example-project --zone us-central1-a --project data-services-engineering"
}

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.