Skip to content

Commit 217a9b5

Browse files
authored
Merge pull request #100 from planetscale/joem/fix-multi-arch-build
docker: fix multiarch build
2 parents 5d23360 + 9303f29 commit 217a9b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ dockers:
9595
goos: linux
9696
goarch: amd64
9797
image_templates:
98-
- "ghcr.io/planetscale/ghcommit:{{ .Tag }}"
99-
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}"
100-
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}"
101-
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
102-
- "ghcr.io/planetscale/ghcommit:latest"
98+
- "ghcr.io/planetscale/ghcommit:{{ .Tag }}-amd64"
99+
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}-amd64"
100+
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}-amd64"
101+
- "ghcr.io/planetscale/ghcommit:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64"
102+
- "ghcr.io/planetscale/ghcommit:latest-amd64"
103103
# build a docker image for arm64 arch
104104
- dockerfile: Dockerfile
105105
use: buildx

0 commit comments

Comments
 (0)