We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059c63d commit 5deec54Copy full SHA for 5deec54
.goreleaser.yml
@@ -56,7 +56,11 @@ release:
56
dockers:
57
- image_templates:
58
- 'ghcr.io/guptarohit/asciigraph:{{ .Version }}'
59
- dockerfile: Dockerfile
+ - 'ghcr.io/guptarohit/asciigraph:{{ .Tag }}'
60
+ - 'ghcr.io/guptarohit/asciigraph:v{{ .Major }}'
61
+ - 'ghcr.io/guptarohit/asciigraph:v{{ .Major }}.{{ .Minor }}'
62
+ - 'ghcr.io/guptarohit/asciigraph:latest'
63
+ dockerfile: goreleaser.dockerfile
64
build_flag_templates:
65
- '--label=org.opencontainers.image.title={{ .ProjectName }}'
66
- '--label=org.opencontainers.image.name={{ .ProjectName }}'
goreleaser.dockerfile
@@ -0,0 +1,3 @@
1
+FROM scratch
2
+COPY asciigraph /asciigraph
3
+ENTRYPOINT ["/asciigraph"]
0 commit comments