File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 2
2
revive
3
3
vendor
4
4
* .swp
5
+ dist /
Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ builds:
22
22
- darwin
23
23
- windows
24
24
25
+ dockers :
26
+ - image_templates : ["ghcr.io/mgechev/revive:{{ .Version }}"]
27
+ dockerfile : Dockerfile
28
+ build_flag_templates :
29
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
30
+ - --label=org.opencontainers.image.description={{ .ProjectName }}
31
+ - --label=org.opencontainers.image.url=https://github.com/mgechev/revive
32
+ - --label=org.opencontainers.image.source=https://github.com/mgechev/revive
33
+ - --label=org.opencontainers.image.version={{ .Version }}
34
+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
35
+ - --label=org.opencontainers.image.licenses=MIT
36
+
25
37
changelog :
26
38
filters :
27
39
exclude :
Original file line number Diff line number Diff line change
1
+ FROM scratch
2
+ COPY revive /usr/bin/revive
3
+ ENTRYPOINT ["/usr/bin/revive" ]
You can’t perform that action at this time.
0 commit comments