From a83360e63b9a24492e977ccebba00f12d616e014 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 18 Nov 2021 10:56:43 +0100 Subject: [PATCH] build(goreleaser)!: use .Version for container image tags instead of .Tag BREAKING CHANGE: container image tags are no longer prefixed with v (e.g. v0.4.0), only a pure version number is used --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a3986e2..ece5c28 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -52,7 +52,7 @@ dockers: goos: linux goarch: amd64 image_templates: - - "vojtechmares/statica:{{ .Tag }}-amd64" + - "vojtechmares/statica:{{ .Version }}-amd64" skip_push: false dockerfile: Containerfile use: buildx @@ -77,7 +77,7 @@ dockers: - goos: linux goarch: arm64 image_templates: - - "vojtechmares/statica:{{ .Tag }}-arm64v8" + - "vojtechmares/statica:{{ .Version }}-arm64v8" skip_push: false dockerfile: Containerfile use: buildx