Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@ builds:
- arm64

dockers:
- image_templates:
- build_flag_templates: [--platform=linux/amd64]
image_templates:
- "ghcr.io/{{ .RepoOwner }}/{{ .ProjectName }}:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-amd64"
- "ghcr.io/{{ .RepoOwner }}/{{ .ProjectName }}:latest-amd64"
dockerfile: Dockerfile
use: buildx
build_flag:
- "--platform=linux/amd64"
- image_templates:
- build_flag_templates: [--platform=linux/arm64]
image_templates:
- "ghcr.io/{{ .RepoOwner }}/{{ .ProjectName }}:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-arm64"
- "ghcr.io/{{ .RepoOwner }}/{{ .ProjectName }}:latest-arm64"
dockerfile: Dockerfile
use: buildx
build_flag:
- "--platform=linux/arm64"

docker_manifests:
- name_template: "ghcr.io/{{ .RepoOwner }}/{{ .ProjectName }}:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}"
Expand Down
Loading