Skip to content

Commit a81350d

Browse files
authored
fix: use labels for image correctly with goreleaser (#912)
1 parent cb5ad54 commit a81350d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.goreleaser.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ kos:
4444
platforms:
4545
- linux/amd64
4646
- linux/arm64
47-
flags:
48-
- "--label=org.opencontainers.image.created={{.Date}}"
49-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
50-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
51-
- "--label=org.opencontainers.image.version={{.Version}}"
47+
labels:
48+
org.opencontainers.image.created: "{{.Date}}"
49+
org.opencontainers.image.revision: "{{.FullCommit}}"
50+
org.opencontainers.image.title: "{{.ProjectName}}"
51+
org.opencontainers.image.version: "{{.Version}}"

0 commit comments

Comments
 (0)