mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:33:27 +01:00
Only build armv7, not armv6 anymore
This commit is contained in:
parent
c247984ca9
commit
093154fa6c
1 changed files with 12 additions and 5 deletions
|
@ -13,7 +13,7 @@ builds:
|
||||||
goos: [linux]
|
goos: [linux]
|
||||||
goarch: [amd64]
|
goarch: [amd64]
|
||||||
-
|
-
|
||||||
id: ntfy_arm67
|
id: ntfy_armv7
|
||||||
binary: ntfy
|
binary: ntfy
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=1 # required for go-sqlite3
|
- CGO_ENABLED=1 # required for go-sqlite3
|
||||||
|
@ -23,9 +23,7 @@ builds:
|
||||||
- "-linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
|
- "-linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
|
||||||
goos: [linux]
|
goos: [linux]
|
||||||
goarch: [arm]
|
goarch: [arm]
|
||||||
goarm:
|
goarm: [7]
|
||||||
- 6
|
|
||||||
- 7
|
|
||||||
-
|
-
|
||||||
id: ntfy_arm64
|
id: ntfy_arm64
|
||||||
binary: ntfy
|
binary: ntfy
|
||||||
|
@ -89,15 +87,24 @@ dockers:
|
||||||
- &arm64v8_image "binwiederhier/ntfy:{{ .Tag }}-arm64v8"
|
- &arm64v8_image "binwiederhier/ntfy:{{ .Tag }}-arm64v8"
|
||||||
use: buildx
|
use: buildx
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
goarch: arm64
|
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--platform=linux/arm64/v8"
|
- "--platform=linux/arm64/v8"
|
||||||
|
- image_templates:
|
||||||
|
- &armv7_image "binwiederhier/ntfy:{{ .Tag }}-armv7"
|
||||||
|
use: buildx
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
goarch: arm
|
||||||
|
goarm: 7
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/arm/v7"
|
||||||
docker_manifests:
|
docker_manifests:
|
||||||
- name_template: "binwiederhier/ntfy:latest"
|
- name_template: "binwiederhier/ntfy:latest"
|
||||||
image_templates:
|
image_templates:
|
||||||
- *amd64_image
|
- *amd64_image
|
||||||
- *arm64v8_image
|
- *arm64v8_image
|
||||||
|
- *armv7_image
|
||||||
- name_template: "binwiederhier/ntfy:{{ .Tag }}"
|
- name_template: "binwiederhier/ntfy:{{ .Tag }}"
|
||||||
image_templates:
|
image_templates:
|
||||||
- *amd64_image
|
- *amd64_image
|
||||||
- *arm64v8_image
|
- *arm64v8_image
|
||||||
|
- *armv7_image
|
||||||
|
|
Loading…
Reference in a new issue