From 0cca1866e9730727a5665742818e7084025b74d0 Mon Sep 17 00:00:00 2001 From: Christopher Hlubek Date: Tue, 11 Jul 2023 12:08:12 +0200 Subject: [PATCH] Fix deprecated GoReleaser feature --- .goreleaser.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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