Skip to content

Commit

Permalink
arch info docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
chandanpasunoori committed Dec 27, 2022
1 parent 3c1f180 commit ba01c51
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ changelog:
- "^docs:"
- "^test:"
dockers:
- image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
- docker.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
- goarch: amd64
goos: linux
dockerfile: Dockerfile
use: buildx
image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
- docker.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand All @@ -60,12 +62,13 @@ dockers:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
- image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
- docker.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
goarch: arm64
- goarch: arm64
goos: linux
dockerfile: Dockerfile
use: buildx
image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
- docker.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
build_flag_templates:
- --platform=linux/arm64/v8
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand Down

0 comments on commit ba01c51

Please sign in to comment.