Skip to content

Commit d5c19e5

Browse files
committed
fix: docker images
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent 34175a7 commit d5c19e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,24 +99,28 @@ dockers:
9999
- "ghcr.io/goreleaser/example-zig:{{ .Tag }}-arm64"
100100
dockerfile: Dockerfile
101101
goarch: arm64
102+
use: buildx
102103
build_flag_templates:
103104
- "--pull"
104105
- "--label=org.opencontainers.image.created={{.Date}}"
105106
- "--label=org.opencontainers.image.name={{.ProjectName}}"
106107
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
107108
- "--label=org.opencontainers.image.version={{.Version}}"
108109
- "--label=org.opencontainers.image.source={{.GitURL}}"
110+
- "--platform=linux/arm64"
109111
- image_templates:
110112
- "ghcr.io/goreleaser/example-zig:{{ .Tag }}-amd64"
111113
dockerfile: Dockerfile
112114
goarch: amd64
115+
use: buildx
113116
build_flag_templates:
114117
- "--pull"
115118
- "--label=org.opencontainers.image.created={{.Date}}"
116119
- "--label=org.opencontainers.image.name={{.ProjectName}}"
117120
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
118121
- "--label=org.opencontainers.image.version={{.Version}}"
119122
- "--label=org.opencontainers.image.source={{.GitURL}}"
123+
- "--platform=linux/arm64"
120124

121125
# Here we join both images into a Docker manifest.
122126
docker_manifests:

0 commit comments

Comments
 (0)