Skip to content

Commit

Permalink
fix: docker images
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Dec 30, 2024
1 parent 34175a7 commit d5c19e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,24 +99,28 @@ dockers:
- "ghcr.io/goreleaser/example-zig:{{ .Tag }}-arm64"
dockerfile: Dockerfile
goarch: arm64
use: buildx
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/arm64"
- image_templates:
- "ghcr.io/goreleaser/example-zig:{{ .Tag }}-amd64"
dockerfile: Dockerfile
goarch: amd64
use: buildx
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/arm64"

# Here we join both images into a Docker manifest.
docker_manifests:
Expand Down

0 comments on commit d5c19e5

Please sign in to comment.