Skip to content

Commit 3755e0f

Browse files
committed
chore: fix goreleaser
1 parent 6459ea1 commit 3755e0f

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

.goreleaser.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ builds:
1111
- amd64
1212

1313
archives:
14-
- replacements:
15-
linux: Linux
16-
amd64: x86_64
14+
- name_template: >-
15+
{{ .ProjectName }}_
16+
{{- title .Os }}_
17+
{{- if eq .Arch "amd64" }}x86_64
18+
{{- else }}{{ .Arch }}{{ end }}
19+
allow_different_binary_count: true
1720
1821
checksum:
1922
name_template: 'checksums.txt'
@@ -28,15 +31,15 @@ changelog:
2831
- '^docs:'
2932
- '^test:'
3033

31-
dockers:
32-
- image_templates:
33-
- "ghcr.io/vilsol/ficsit-switcher:{{ .Tag }}"
34-
- "ghcr.io/vilsol/ficsit-switcher:v{{ .Major }}"
35-
- "ghcr.io/vilsol/ficsit-switcher:v{{ .Major }}.{{ .Minor }}"
36-
- "ghcr.io/vilsol/ficsit-switcher:latest"
37-
build_flag_templates:
38-
- "--pull"
39-
- "--label=org.opencontainers.image.created={{.Date}}"
40-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
41-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
42-
- "--label=org.opencontainers.image.version={{.Version}}"
34+
kos:
35+
- repository: ghcr.io/satisfactorymodding/ficsit-switcher
36+
tags:
37+
- "{{ .Tag }}"
38+
- "v{{ .Major }}"
39+
- "v{{ .Major }}.{{ .Minor }}"
40+
- "latest"
41+
bare: true
42+
platforms:
43+
- linux/amd64
44+
- linux/arm64
45+
- linux/arm/v7

0 commit comments

Comments
 (0)