Branch: master
Find file History
thepwagner bump gcloud version
What's in the box?
$ for v in 9ce2bb0f7459621450e1730c35c9620f23824e1c6d7a810c8eb1b80712d9af5a 7e910b97dd13d8e32acb3e53c5f4d2164c5ea8e93de1ea51e610a1112fa6308e; do
  echo $v;$v;
  (docker inspect $i | jq -r '.[0].Created');
  (docker run --rm $i version);
  echo; echo;

Google Cloud SDK 219.0.1
bq 2.0.34
core 2018.09.28
gsutil 4.34

Google Cloud SDK 234.0.0
bq 2.0.41
core 2019.02.08
gsutil 4.36
Latest commit d124d4b Feb 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
script Initial commit Oct 16, 2018
test Initial commit Oct 16, 2018
.dockerignore Initial commit Oct 16, 2018
Dockerfile bump gcloud version Feb 14, 2019
LICENSE Initial commit Oct 16, 2018
Makefile Initial commit Oct 16, 2018 fix spelling mistake Jan 23, 2019 Initial commit Oct 16, 2018 Initial commit Oct 16, 2018

GitHub Action for Google Cloud Auth

The GitHub Actions for Google Cloud Platform and wraps the gcloud SDK for authorizing a service account. This is a thin wrapper around the gcloud auth command, facilitating providing credentials securely using Secrets.


Example Workflow file

An example workflow to authenticate with Google Cloud Platform:

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

action "Setup Google Cloud" {
  uses = "actions/gcloud/auth@master"
  secrets = ["GCLOUD_AUTH"]

Subsequent actions in the workflow will then be able to use gcloud as that user (see cli for examples).


  • GCLOUD_AUTH Required Base64 encoded service account key exported as JSON
    • For information about service account keys please see the Google Cloud docs
    • For information about using Secrets in Actions please see the Actions docs.

Example on encoding from a terminal : base64 ~/<account_id>.json


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 for details.