2021-10-24 03:29:45 +02:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
builds:
|
2021-11-20 21:43:15 +01:00
|
|
|
-
|
|
|
|
id: ntfy
|
|
|
|
binary: ntfy
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1 # required for go-sqlite3
|
|
|
|
goos: [linux]
|
|
|
|
goarch: [amd64]
|
|
|
|
-
|
|
|
|
id: ntfy_arm67
|
|
|
|
binary: ntfy
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1 # required for go-sqlite3
|
|
|
|
- CC=arm-linux-gnueabi-gcc # apt install gcc-arm-linux-gnueabi
|
|
|
|
goos: [linux]
|
|
|
|
goarch: [arm]
|
|
|
|
goarm:
|
|
|
|
- 6
|
|
|
|
- 7
|
|
|
|
-
|
|
|
|
id: ntfy_arm64
|
|
|
|
binary: ntfy
|
2021-10-24 03:29:45 +02:00
|
|
|
env:
|
2021-11-03 16:46:24 +01:00
|
|
|
- CGO_ENABLED=1 # required for go-sqlite3
|
2021-11-20 21:43:15 +01:00
|
|
|
- CC=aarch64-linux-gnu-gcc # apt install gcc-aarch64-linux-gnu
|
|
|
|
goos: [linux]
|
|
|
|
goarch: [arm64]
|
2021-10-24 03:29:45 +02:00
|
|
|
nfpms:
|
|
|
|
-
|
|
|
|
package_name: ntfy
|
|
|
|
homepage: https://heckel.io/ntfy
|
|
|
|
maintainer: Philipp C. Heckel <philipp.heckel@gmail.com>
|
|
|
|
description: Simple pub-sub notification service
|
|
|
|
license: Apache 2.0
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|
|
|
|
bindir: /usr/bin
|
|
|
|
contents:
|
|
|
|
- src: config/config.yml
|
|
|
|
dst: /etc/ntfy/config.yml
|
|
|
|
type: config
|
|
|
|
- src: config/ntfy.service
|
|
|
|
dst: /lib/systemd/system/ntfy.service
|
|
|
|
scripts:
|
|
|
|
postremove: "scripts/postrm.sh"
|
|
|
|
archives:
|
|
|
|
-
|
|
|
|
wrap_in_directory: true
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- README.md
|
|
|
|
- config/config.yml
|
|
|
|
- config/ntfy.service
|
|
|
|
replacements:
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
|
|
|
dockers:
|
|
|
|
- dockerfile: Dockerfile
|
|
|
|
ids:
|
|
|
|
- ntfy
|
2021-11-20 21:43:15 +01:00
|
|
|
goos: linux
|
|
|
|
goarch: amd64
|
2021-10-24 03:29:45 +02:00
|
|
|
image_templates:
|
|
|
|
- "binwiederhier/ntfy:latest"
|
|
|
|
- "binwiederhier/ntfy:{{ .Tag }}"
|
|
|
|
- "binwiederhier/ntfy:v{{ .Major }}.{{ .Minor }}"
|