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

Commit 606d924

Browse files
committed
Release on docker hub
1 parent 2b167e0 commit 606d924

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.goreleaser.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ changelog:
2525
exclude:
2626
- "^docs:"
2727
- "^test:"
28+
dockers:
29+
- binaries: ["captain"]
30+
image_templates:
31+
- "barpilot/captain:latest"
32+
- "barpilot/captain:{{ .Tag }}"
33+
- "barpilot/captain:{{ .Major }}"
34+
dockerfile: Dockerfile.goreleaser

Dockerfile.goreleaser

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM scratch
2+
COPY captain /bin/
3+
ENTRYPOINT ["/bin/captain"]

0 commit comments

Comments
 (0)