Skip to content

Commit b15c51e

Browse files
authored
Update .goreleaser.yaml
1 parent 7594c7c commit b15c51e

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.goreleaser.yaml

+8-11
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ builds:
99
- amd64
1010
- arm64
1111
dockers:
12-
image_templates:
13-
- "ghcr.io/looterz/grimd:latest"
14-
- "ghcr.io/looterz/grimd:{{ .Version }}"
1512
dockerfile: Dockerfile
13+
image_templates:
14+
- "ghcr.io/looterz/grimd:latest"
15+
- "ghcr.io/looterz/grimd:{{ .Tag }}"
1616
build_flag_templates:
17-
- --label=org.opencontainers.image.title={{ .ProjectName }}
18-
- --label=org.opencontainers.image.description={{ .ProjectName }}
19-
- --label=org.opencontainers.image.url=https://github.com/looterz/grimd
20-
- --label=org.opencontainers.image.source=https://github.com/looterz/grimd
21-
- --label=org.opencontainers.image.version={{ .Version }}
22-
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
23-
- --label=org.opencontainers.image.revision={{ .FullCommit }}
24-
- --label=org.opencontainers.image.licenses=MIT
17+
- "--pull"
18+
- "--label=org.opencontainers.image.created={{.Date}}"
19+
- "--label=org.opencontainers.image.title={{.ProjectName}}"
20+
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
21+
- "--label=org.opencontainers.image.version={{.Version}}"

0 commit comments

Comments
 (0)