Multi-platform Docker images
parent
21990398c6
commit
2a05715107
|
@ -78,12 +78,26 @@ changelog:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
dockers:
|
dockers:
|
||||||
- dockerfile: Dockerfile
|
- image_templates:
|
||||||
ids:
|
- &amd64_image "binwiederhier/ntfy:{{ .Tag }}-amd64"
|
||||||
- ntfy
|
use: buildx
|
||||||
goos: linux
|
dockerfile: Dockerfile
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/amd64"
|
||||||
|
- image_templates:
|
||||||
|
- &arm64v8_image "binwiederhier/ntfy:{{ .Tag }}-arm64v8"
|
||||||
|
use: buildx
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
goarch: arm64
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/arm64/v8"
|
||||||
|
docker_manifests:
|
||||||
|
- name_template: "binwiederhier/ntfy:latest"
|
||||||
image_templates:
|
image_templates:
|
||||||
- "binwiederhier/ntfy:latest"
|
- *amd64_image
|
||||||
- "binwiederhier/ntfy:{{ .Tag }}"
|
- *arm64v8_image
|
||||||
- "binwiederhier/ntfy:v{{ .Major }}.{{ .Minor }}"
|
- name_template: "binwiederhier/ntfy:{{ .Tag }}"
|
||||||
|
image_templates:
|
||||||
|
- *amd64_image
|
||||||
|
- *arm64v8_image
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.1 KiB |
Loading…
Reference in New Issue