Skip to content

Commit

Permalink
chore: simplify multiplatform docker image release
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Apr 14, 2023
1 parent 7ba3ed4 commit 3ea3ec0
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit 3ea3ec0

Please sign in to comment.