Skip to content

Commit

Permalink
docker: fix multiarch build
Browse files Browse the repository at this point in the history
the amd64 image variants should be suffixed with -amd64 so as to not
shadow our new multiarch manifests
  • Loading branch information
joemiller committed Jan 13, 2025
1 parent 5d23360 commit 9303f29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ dockers:
goos: linux
goarch: amd64
image_templates:
- "ghcr.io/planetscale/ghcommit:{{ .Tag }}"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "ghcr.io/planetscale/ghcommit:latest"
- "ghcr.io/planetscale/ghcommit:{{ .Tag }}-amd64"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}-amd64"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}-amd64"
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64"
- "ghcr.io/planetscale/ghcommit:latest-amd64"
# build a docker image for arm64 arch
- dockerfile: Dockerfile
use: buildx
Expand Down

0 comments on commit 9303f29

Please sign in to comment.