Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
build: use x86_64 platform instead amd64
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Jan 11, 2022
1 parent e6e102f commit a086cf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ builds:
flags:
- -trimpath
- -mod=readonly
ldflags:
- -s -w
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dockers:
Expand All @@ -21,7 +23,7 @@ dockers:
goos: linux
build_flag_templates:
- --pull
- --platform=linux/amd64
- --platform=linux/x86_64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url={{.GitURL}}
Expand Down

0 comments on commit a086cf1

Please sign in to comment.