Skip to content

Commit

Permalink
fix multiarc (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <paskal.maksim@gmail.com>
  • Loading branch information
maksim-paskal authored Sep 7, 2022
1 parent c88299d commit 6dd506d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@ release:
## Docker Images
- `paskalmaksim/{{.ProjectName}}:latest`
- `paskalmaksim/{{.ProjectName}}:{{.Tag}}`
docker_manifests:
- name_template: paskalmaksim/{{.ProjectName}}:latest
image_templates:
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-amd64
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-arm64
- name_template: paskalmaksim/{{.ProjectName}}:{{.Tag}}
image_templates:
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-amd64
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-arm64
dockers:
- use: buildx
goos: linux
goarch: amd64
image_templates:
- paskalmaksim/{{.ProjectName}}:latest
- paskalmaksim/{{.ProjectName}}:{{.Tag}}
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-amd64
build_flag_templates:
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -21,8 +29,7 @@ dockers:
goos: linux
goarch: arm64
image_templates:
- paskalmaksim/{{.ProjectName}}:latest
- paskalmaksim/{{.ProjectName}}:{{.Tag}}
- paskalmaksim/{{.ProjectName}}:{{.Tag}}-arm64
build_flag_templates:
- "--platform=linux/arm64/v8"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down

0 comments on commit 6dd506d

Please sign in to comment.