From a495c7f85e8419aaa55341beb83ed9dd4c8e8134 Mon Sep 17 00:00:00 2001 From: Frederic Branczyk Date: Tue, 13 Aug 2024 16:54:58 +0200 Subject: [PATCH] Fix container image tags --- .goreleaser.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6d78f9d33c..a1b9dd59bb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -78,7 +78,7 @@ release: prerelease: auto draft: false dockers: -- image_templates: ["ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-amd64"] +- image_templates: ["ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-amd64"] dockerfile: Dockerfile use: buildx build_flag_templates: @@ -91,7 +91,7 @@ dockers: - --label=org.opencontainers.image.version={{ .Version }} - --label=org.opencontainers.image.revision={{ .FullCommit }} - --label=org.opencontainers.image.licenses=Apache-2.0 -- image_templates: ["ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-arm64"] +- image_templates: ["ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-arm64"] goarch: arm64 dockerfile: Dockerfile use: buildx @@ -106,11 +106,11 @@ dockers: - --label=org.opencontainers.image.revision={{ .FullCommit }} - --label=org.opencontainers.image.licenses=Apache-2.0 docker_manifests: -- name_template: ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }} +- name_template: ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }} image_templates: - - ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-amd64 - - ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-arm64 + - ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-amd64 + - ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-arm64 - name_template: ghcr.io/parca-dev/{{ .ProjectName }}:latest image_templates: - - ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-amd64 - - ghcr.io/parca-dev/{{ .ProjectName }}:{{ .Version }}-arm64 + - ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-amd64 + - ghcr.io/parca-dev/{{ .ProjectName }}:v{{ .Version }}-arm64