From 4a4ab7810b858b99959151877b32dc79851261cf Mon Sep 17 00:00:00 2001 From: Marco Vito Moscaritolo Date: Mon, 20 Nov 2023 20:27:45 +0100 Subject: [PATCH] fix(ci): fix gorelease tagging parameters (#181) --- .goreleaser.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e1471f3..5c65b51 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -62,20 +62,20 @@ docker_manifests: # https://goreleaser.com/customization/docker_manifest/ - name_template: caddy/{{ .ProjectName }}:latest image_templates: - - caddy/{{ .ProjectName }}:{{ .Version }}-amd64 - - caddy/{{ .ProjectName }}:{{ .Version }}-arm64v8 + - caddy/{{ .ProjectName }}:{{ .Tag }}-amd64 + - caddy/{{ .ProjectName }}:{{ .Tag }}-arm64v8 - name_template: caddy/{{ .ProjectName }}:{{ .Major }} image_templates: - - caddy/{{ .ProjectName }}:{{ .Version }}-amd64 - - caddy/{{ .ProjectName }}:{{ .Version }}-arm64v8 + - caddy/{{ .ProjectName }}:{{ .Tag }}-amd64 + - caddy/{{ .ProjectName }}:{{ .Tag }}-arm64v8 - name_template: caddy/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }} image_templates: - - caddy/{{ .ProjectName }}:{{ .Version }}-amd64 - - caddy/{{ .ProjectName }}:{{ .Version }}-arm64v8 - - name_template: caddy/{{ .ProjectName }}:{{ .Version }} + - caddy/{{ .ProjectName }}:{{ .Tag }}-amd64 + - caddy/{{ .ProjectName }}:{{ .Tag }}-arm64v8 + - name_template: caddy/{{ .ProjectName }}:{{ .Tag }} image_templates: - - caddy/{{ .ProjectName }}:{{ .Version }}-amd64 - - caddy/{{ .ProjectName }}:{{ .Version }}-arm64v8 + - caddy/{{ .ProjectName }}:{{ .Tag }}-amd64 + - caddy/{{ .ProjectName }}:{{ .Tag }}-arm64v8 release: disable: true