From 361c7bcaeb2aa0effc9606a4e79bc8fbf0ae57ca Mon Sep 17 00:00:00 2001 From: Hasan Hakkaev Date: Thu, 8 Jun 2023 17:19:33 +0200 Subject: [PATCH] fix CI --- .goreleaser.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1be7567..4ffdde9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -60,7 +60,7 @@ dockers: dockerfile: goreleaser.Dockerfile use: buildx build_flag_templates: - - --platform=linux/arm64/ + - --platform=linux/arm64/v8 - --label=org.opencontainers.image.title={{ .ProjectName }} - --label=org.opencontainers.image.description=A small utility to clean GitLab runners - --label=org.opencontainers.image.created={{.Date}} @@ -70,14 +70,14 @@ dockers: - --label=org.opencontainers.image.licenses=Apache-2.0 docker_manifests: -- name_template: ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }} - image_templates: - - ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-amd64 - - ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-arm64 -- name_template: ghcr.io/hasanhakkaev/{{ .ProjectName }}:latest - image_templates: - - ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-amd64 - - ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-arm64 + - name_template: 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}' + image_templates: + - 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-amd64' + - 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-arm64' + - name_template: 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:latest' + image_templates: + - 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-amd64' + - 'ghcr.io/hasanhakkaev/{{ .ProjectName }}:{{ .Version }}-arm64' docker_signs: - cmd: cosign