Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
configure gcloud for docker
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jul 23, 2019
1 parent b02aaec commit e258178
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/main.workflow
Expand Up @@ -13,9 +13,15 @@ action "is-tag" {
args = "tag"
}

action "Set Credential Helper for Docker" {
needs = ["Setup Google Cloud"]
uses = "actions/gcloud/cli@master"
args = ["auth", "configure-docker", "--quiet"]
}

action "goreleaser" {
uses = "docker://goreleaser/goreleaser"
secrets = ["GORELEASER_GITHUB_TOKEN"]
args = "release"
needs = ["is-tag", "Setup Google Cloud"]
needs = ["is-tag", "Setup Google Cloud", "Set Credential Helper for Docker"]
}

0 comments on commit e258178

Please sign in to comment.