diff --git a/.goreleaser.yml b/.goreleaser.yml index 5d5d63d..6212b2b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,12 +13,13 @@ builds: - arm64 main: ./cmd/prunner archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_ + {{ .Version }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} dockers: - image_templates: - ghcr.io/flowpack/{{ .ProjectName }}:{{ .Version }}-amd64