From 25317c6c086b04b317e22a546edfcc81e3b64369 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 2 Aug 2022 09:08:43 +0200 Subject: [PATCH] chore: change image tags and add docker manifest (#4075) --- .goreleaser.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e395957a79..e87f16fa86 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,17 +36,13 @@ dist: .artifacts/goreleaser dockers: - image_templates: - - ghcr.io/zitadel/zitadel:latest-amd64 - ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64 - - ghcr.io/zitadel/zitadel:{{ .ShortCommit }}-amd64 - europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel:{{ .Tag }}-amd64 - - europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel:{{ .ShortCommit }}-amd64 use: buildx dockerfile: build/Dockerfile build_flag_templates: - "--platform=linux/amd64" - image_templates: - - ghcr.io/zitadel/zitadel:latest-arm64 - ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64 - ghcr.io/zitadel/zitadel:{{ .ShortCommit }}-arm64 use: buildx @@ -54,6 +50,18 @@ dockers: build_flag_templates: - "--platform=linux/arm64" +docker_manifests: + id: zitadel-latest + name_template: ghcr.io/zitadel/zitadel:latest + image_templates: + - ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64 + - ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64 + id: zitadel-Tag + name_template: ghcr.io/zitadel/zitadel:{{ .Tag }} + image_templates: + - ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64 + - ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64 + archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' replacements: