@@ -17,17 +17,25 @@ builds:
17
17
- amd64
18
18
- arm64
19
19
dockers :
20
- - image_templates : ["docker.io/brothersam/zexample:{{ .Version }}"]
20
+ - image_templates : ["docker.io/brothersam/zexample.{{ .Runtime.Goos }} :{{ .Version }}"]
21
21
dockerfile : Dockerfile
22
22
build_flag_templates :
23
- - --label=org.opencontainers.image.title={{ .ProjectName }}
24
- - --label=org.opencontainers.image.description={{ .ProjectName }}
25
- - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
26
- - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
27
- - --label=org.opencontainers.image.version={{ .Version }}
28
- - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
29
- - --label=org.opencontainers.image.revision={{ .FullCommit }}
30
- - --label=org.opencontainers.image.licenses=MIT
23
+ - --label=guance.image.title={{ .ProjectName }}
24
+ - --label=guance.image.description={{ .ProjectName }}
25
+ - --label=guance.image.url=https://github.com/brothersam66/testgoreleaser
26
+ - --label=guance.image.source=https://github.com/brothersam66/testgoreleaser
27
+ - --label=guance.image.version={{ .Version }}
28
+ - --label=guance.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
29
+ - --label=guance.image.revision={{ .FullCommit }}
30
+ - --label=guance.image.licenses=MIT
31
+ # - --label=org.opencontainers.image.title={{ .ProjectName }}
32
+ # - --label=org.opencontainers.image.description={{ .ProjectName }}
33
+ # - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
34
+ # - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
35
+ # - --label=org.opencontainers.image.version={{ .Version }}
36
+ # - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
37
+ # - --label=org.opencontainers.image.revision={{ .FullCommit }}
38
+ # - --label=org.opencontainers.image.licenses=MIT
31
39
nfpms :
32
40
-
maintainer :
Carlos A Becker <[email protected] >
33
41
description : Sample project.
0 commit comments