Skip to content

Commit

Permalink
fix up goreleaser container build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Jun 11, 2021
1 parent 312b8a3 commit f86fe29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ changelog:
- '^docs:'
- '^test:'
dockers:
- image_templates:
- dockerfile: Dockerfile.goreleaser
image_templates:
- "cycoresystems/dispatchers:{{ .Tag }}"
- "cycoresystems/dispatchers:v{{ .Major }}"
- "cycoresystems/dispatchers:v{{ .Major }}.{{ .Minor }}"
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gcr.io/distroless/base
COPY dispatchers /go/bin/dispatchers
ENTRYPOINT ["/go/bin/dispatchers"]

0 comments on commit f86fe29

Please sign in to comment.