Skip to content

Commit

Permalink
added build flag templates, buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmittag committed Dec 5, 2023
1 parent 3a575d2 commit f0f0b5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,18 @@ dockers:
goos: linux
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-amd64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- goarch: arm64
goos: linux
image_templates:
- 'docker.io/simonmittag/j8a:{{.Tag}}-arm64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"

docker_manifests:
- name_template: 'docker.io/simonmittag/j8a:{{.Tag}}'
Expand Down

0 comments on commit f0f0b5e

Please sign in to comment.