Skip to content

Commit

Permalink
fix goreleaser hook: cannot use complex commands
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Nov 4, 2019
1 parent ae48778 commit 753ae32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:
before:
hooks:
- go mod download
- echo {{ .Env.DOCKER_TOKEN }} | docker login -u {{ .Env.DOCKER_USERNAME }} --password-stdin {{ .Env.DOCKER_REGISTRY }}
- docker login -u {{ .Env.DOCKER_USERNAME }} -p {{ .Env.DOCKER_TOKEN }} {{ .Env.DOCKER_REGISTRY }}

builds:
- env:
Expand Down

0 comments on commit 753ae32

Please sign in to comment.