Skip to content

Commit a6f4417

Browse files
authored
feat: add multi arch support (#147)
Signed-off-by: Zach Aller <[email protected]>
1 parent ac56ec5 commit a6f4417

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ dockers:
3535
- quay.io/argoprojlabs/gitops-promoter:{{ .Tag }}
3636
dockerfile: release.Dockerfile
3737
skip_push: "{{ .IsSnapshot }}"
38+
use: buildx
3839
build_flag_templates:
3940
- "--pull"
4041
- "--label=org.opencontainers.image.created={{.Date}}"
4142
- "--label=org.opencontainers.image.title={{.ProjectName}}"
4243
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
4344
- "--label=org.opencontainers.image.version={{.Version}}"
44-
- "--platform=linux/amd64"
45+
- "--platform=linux/amd64,linux/arm64"
4546

4647
archives:
4748
- id: binary

0 commit comments

Comments
 (0)