Skip to content

Commit 4571f57

Browse files
committed
feat: use ko and publish multiarch images
1 parent 5461d2f commit 4571f57

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.goreleaser.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ changelog:
4242
- '^docs:'
4343
- '^test:'
4444

45-
dockers:
46-
- image_templates:
47-
- "ghcr.io/vilsol/yeet:{{ .Tag }}"
48-
- "ghcr.io/vilsol/yeet:v{{ .Major }}"
49-
- "ghcr.io/vilsol/yeet:v{{ .Major }}.{{ .Minor }}"
50-
- "ghcr.io/vilsol/yeet:latest"
51-
build_flag_templates:
52-
- "--pull"
53-
- "--label=org.opencontainers.image.created={{.Date}}"
54-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
55-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
56-
- "--label=org.opencontainers.image.version={{.Version}}"
45+
kos:
46+
- repository: ghcr.io/vilsol/yeet
47+
tags:
48+
- "{{ .Tag }}"
49+
- "v{{ .Major }}"
50+
- "v{{ .Major }}.{{ .Minor }}"
51+
- "latest"
52+
bare: true
53+
platforms:
54+
- linux/amd64
55+
- linux/arm64
56+
- linux/armv7

0 commit comments

Comments
 (0)