Skip to content

Commit

Permalink
Fix goreleaser image templates
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Sep 12, 2022
1 parent 99a54ab commit 87330f6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ dockers:
goarch: amd64
image_templates:
- "flipt/flipt:{{ .Tag }}-amd64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-amd64"
build_flag_templates:
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -61,11 +62,13 @@ dockers:
extra_files:
- config/migrations/
- config/default.yml

- dockerfile: ./build/Dockerfile
use: buildx
goarch: arm64
image_templates:
- "flipt/flipt:{{ .Tag }}-arm64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-arm64"
build_flag_templates:
- "--platform=linux/arm64"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down Expand Up @@ -94,12 +97,12 @@ docker_manifests:
- "flipt/flipt:{{ .Tag }}-arm64"
- name_template: "ghcr.io/flipt-io/flipt:latest"
image_templates:
- "flipt/flipt:{{ .Tag }}-amd64"
- "flipt/flipt:{{ .Tag }}-arm64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-amd64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-arm64"
- name_template: "ghcr.io/flipt-io/flipt:{{ .Tag }}"
image_templates:
- "flipt/flipt:{{ .Tag }}-amd64"
- "flipt/flipt:{{ .Tag }}-arm64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-amd64"
- "ghcr.io/flipt-io/flipt:{{ .Tag }}-arm64"

announce:
discord:
Expand Down

0 comments on commit 87330f6

Please sign in to comment.