File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -99,24 +99,28 @@ dockers:
99
99
- " ghcr.io/goreleaser/example-zig:{{ .Tag }}-arm64"
100
100
dockerfile : Dockerfile
101
101
goarch : arm64
102
+ use : buildx
102
103
build_flag_templates :
103
104
- " --pull"
104
105
- " --label=org.opencontainers.image.created={{.Date}}"
105
106
- " --label=org.opencontainers.image.name={{.ProjectName}}"
106
107
- " --label=org.opencontainers.image.revision={{.FullCommit}}"
107
108
- " --label=org.opencontainers.image.version={{.Version}}"
108
109
- " --label=org.opencontainers.image.source={{.GitURL}}"
110
+ - " --platform=linux/arm64"
109
111
- image_templates :
110
112
- " ghcr.io/goreleaser/example-zig:{{ .Tag }}-amd64"
111
113
dockerfile : Dockerfile
112
114
goarch : amd64
115
+ use : buildx
113
116
build_flag_templates :
114
117
- " --pull"
115
118
- " --label=org.opencontainers.image.created={{.Date}}"
116
119
- " --label=org.opencontainers.image.name={{.ProjectName}}"
117
120
- " --label=org.opencontainers.image.revision={{.FullCommit}}"
118
121
- " --label=org.opencontainers.image.version={{.Version}}"
119
122
- " --label=org.opencontainers.image.source={{.GitURL}}"
123
+ - " --platform=linux/arm64"
120
124
121
125
# Here we join both images into a Docker manifest.
122
126
docker_manifests :
You can’t perform that action at this time.
0 commit comments