Skip to content

Commit 7dde61d

Browse files
authored
Update .goreleaser.yaml
1 parent e636a2f commit 7dde61d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.goreleaser.yaml

+9-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ builds:
99
- amd64
1010
- arm64
1111
dockers:
12+
- image_templates: ["ghcr.io/looterz/grimd:latest"]
1213
dockerfile: Dockerfile
13-
- image_templates: ["ghcr.io/looterz/grimd:latest", "ghcr.io/looterz/grimd:{{.Tag}}"]
1414
build_flag_templates:
15-
- "--pull"
16-
- "--label=org.opencontainers.image.created={{.Date}}"
17-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
18-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
19-
- "--label=org.opencontainers.image.version={{.Version}}"
15+
- --label=org.opencontainers.image.title={{ .ProjectName }}
16+
- --label=org.opencontainers.image.description={{ .ProjectName }}
17+
- --label=org.opencontainers.image.url=https://github.com/looterz/grimd
18+
- --label=org.opencontainers.image.source=https://github.com/looterz/grimd
19+
- --label=org.opencontainers.image.version={{ .Version }}
20+
- --label=org.opencontainers.image.created={{ .Date }}
21+
- --label=org.opencontainers.image.revision={{ .FullCommit }}
22+
- --label=org.opencontainers.image.licenses=MIT

0 commit comments

Comments
 (0)