Skip to content

Commit

Permalink
fix: goreleaser multi-platform Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin REJAUNIER committed Feb 18, 2025
1 parent dbe5d18 commit 31395a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ builds:
dockers:
- image_templates:
- "escapetech/app-cli:{{ .Version }}-amd64"
use: buildx
dockerfile: Dockerfile
goarch: amd64
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
Expand All @@ -31,6 +31,7 @@ dockers:
- "--label=org.opencontainers.image.licenses=Apache-2.0"
- image_templates:
- "escapetech/app-cli:{{ .Version }}-arm64"
use: buildx
dockerfile: Dockerfile
goarch: arm64
build_flag_templates:
Expand Down

0 comments on commit 31395a4

Please sign in to comment.