mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 11:24:04 +01:00
Multi-platform Docker images
This commit is contained in:
parent
21990398c6
commit
2a05715107
3 changed files with 21 additions and 7 deletions
|
@ -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 KiB After Width: | Height: | Size: 5.1 KiB |
Loading…
Reference in a new issue