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

Commit e258178

Browse files
committed
configure gcloud for docker
Signed-off-by: Chuck Ha <[email protected]>
1 parent b02aaec commit e258178

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/main.workflow

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ action "is-tag" {
1313
args = "tag"
1414
}
1515

16+
action "Set Credential Helper for Docker" {
17+
needs = ["Setup Google Cloud"]
18+
uses = "actions/gcloud/cli@master"
19+
args = ["auth", "configure-docker", "--quiet"]
20+
}
21+
1622
action "goreleaser" {
1723
uses = "docker://goreleaser/goreleaser"
1824
secrets = ["GORELEASER_GITHUB_TOKEN"]
1925
args = "release"
20-
needs = ["is-tag", "Setup Google Cloud"]
26+
needs = ["is-tag", "Setup Google Cloud", "Set Credential Helper for Docker"]
2127
}

0 commit comments

Comments
 (0)