From 3ea3ec0d69265f3a5d1843e090ca90c7bc8a5ba2 Mon Sep 17 00:00:00 2001 From: Claudio Beatrice Date: Fri, 14 Apr 2023 17:16:25 +0200 Subject: [PATCH] chore: simplify multiplatform docker image release --- .goreleaser.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7cd6eca6..da1250c2 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -53,9 +53,6 @@ dockers: - skip_push: auto use: buildx image_templates: - - "omissis/go-jsonschema:latest-amd64" - - "omissis/go-jsonschema:{{ .Major }}-amd64" - - "omissis/go-jsonschema:{{ .Major }}.{{ .Minor }}-amd64" - "omissis/go-jsonschema:{{ .Version }}-amd64" build_flag_templates: - "--target=go-jsonschema" @@ -68,9 +65,6 @@ dockers: - skip_push: auto use: buildx image_templates: - - "omissis/go-jsonschema:latest-arm64v8" - - "omissis/go-jsonschema:{{ .Major }}-arm64v8" - - "omissis/go-jsonschema:{{ .Major }}.{{ .Minor }}-arm64v8" - "omissis/go-jsonschema:{{ .Version }}-arm64v8" build_flag_templates: - "--target=go-jsonschema" @@ -84,18 +78,18 @@ docker_manifests: - skip_push: auto name_template: "omissis/go-jsonschema:latest" image_templates: - - "omissis/go-jsonschema:latest-amd64" - - "omissis/go-jsonschema:latest-arm64v8" + - "omissis/go-jsonschema:{{ .Version }}-amd64" + - "omissis/go-jsonschema:{{ .Version }}-arm64v8" - skip_push: auto name_template: "omissis/go-jsonschema:{{ .Major }}" image_templates: - - "omissis/go-jsonschema:{{ .Major }}-amd64" - - "omissis/go-jsonschema:{{ .Major }}-arm64v8" + - "omissis/go-jsonschema:{{ .Version }}-amd64" + - "omissis/go-jsonschema:{{ .Version }}-arm64v8" - skip_push: auto name_template: "omissis/go-jsonschema:{{ .Major }}.{{ .Minor }}" image_templates: - - "omissis/go-jsonschema:{{ .Major }}.{{ .Minor }}-amd64" - - "omissis/go-jsonschema:{{ .Major }}.{{ .Minor }}-arm64v8" + - "omissis/go-jsonschema:{{ .Version }}-amd64" + - "omissis/go-jsonschema:{{ .Version }}-arm64v8" - skip_push: auto name_template: "omissis/go-jsonschema:{{ .Version }}" image_templates: