Skip to content

Commit 753ae32

Browse files
committed
fix goreleaser hook: cannot use complex commands
1 parent ae48778 commit 753ae32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
before:
55
hooks:
66
- go mod download
7-
- echo {{ .Env.DOCKER_TOKEN }} | docker login -u {{ .Env.DOCKER_USERNAME }} --password-stdin {{ .Env.DOCKER_REGISTRY }}
7+
- docker login -u {{ .Env.DOCKER_USERNAME }} -p {{ .Env.DOCKER_TOKEN }} {{ .Env.DOCKER_REGISTRY }}
88

99
builds:
1010
- env:

0 commit comments

Comments
 (0)