diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c9c5297..7153a4f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -50,9 +50,9 @@ dockers: dockerfile: Dockerfile.goreleaser - image_templates: - - &arm64v7_image "{{ .ProjectName }}:{{ .Tag }}-arm64v7" + - &armv7_image "{{ .ProjectName }}:{{ .Tag }}-armv7" build_flag_templates: - - --platform=linux/arm64/v7 + - --platform=linux/arm/v7 goarch: arm goarm: 7 use: buildx @@ -60,13 +60,10 @@ dockers: docker_manifests: - name_template: "{{ .ProjectName }}:{{ .Tag }}" - image_templates: + image_templates: &multiarch_images - *amd64_image - *arm64v8_image - - *arm64v7_image + - *armv7_image - name_template: "{{ .ProjectName }}:latest" skip_push: auto - image_templates: - - *amd64_image - - *arm64v8_image - - *arm64v7_image + image_templates: *multiarch_images