Skip to content

Commit

Permalink
Build OCI images with goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed Dec 19, 2023
1 parent 333a49f commit 0cc7d71
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,24 @@ changelog:
exclude:
- "^docs:"
- "^test:"

dockers:
- image_templates:
- 'mkuratczyk/omq:{{ .Tag }}-amd64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- image_templates:
- 'mkuratczyk/omq:{{ .Tag }}-arm64'
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
goarch: arm64

docker_manifests:
- name_template: 'mkuratczyk/omq:{{ .Tag }}'
image_templates:
- 'mkuratczyk/omq:{{ .Tag }}-amd64'
- 'mkuratczyk/omq:{{ .Tag }}-arm64'

0 comments on commit 0cc7d71

Please sign in to comment.