2021-05-01 12:45:37 +02:00
|
|
|
project_name: wiretrustee
|
|
|
|
builds:
|
|
|
|
- env: [CGO_ENABLED=0]
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- arm
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: arm64
|
|
|
|
nfpms:
|
|
|
|
- maintainer: Wiretrustee <wiretrustee@wiretrustee.com>
|
|
|
|
description: Wiretrustee project.
|
|
|
|
homepage: https://wiretrustee.com/
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|
|
|
|
contents:
|
|
|
|
- src: release_files/wiretrustee.service
|
|
|
|
dst: /lib/systemd/system/wiretrustee.service
|
|
|
|
|
|
|
|
- src: release_files/wiretrustee.json
|
|
|
|
dst: /etc/wiretrustee/wiretrustee.json
|
|
|
|
type: "config|noreplace"
|
|
|
|
|
|
|
|
scripts:
|
|
|
|
postinstall: "release_files/post_install.sh"
|
2021-05-11 09:38:41 +02:00
|
|
|
dockers:
|
|
|
|
- image_templates:
|
2021-05-15 08:58:31 +02:00
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-amd64
|
2021-05-11 09:38:41 +02:00
|
|
|
goarch: amd64
|
|
|
|
use_buildx: true
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
build_flag_templates:
|
|
|
|
- "--platform=linux/amd64"
|
|
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
|
|
- image_templates:
|
2021-05-15 08:58:31 +02:00
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-arm64v8
|
2021-05-11 09:38:41 +02:00
|
|
|
goarch: arm64
|
|
|
|
use_buildx: true
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
build_flag_templates:
|
|
|
|
- "--platform=linux/arm64"
|
|
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
|
|
|
|
|
|
docker_manifests:
|
2021-05-15 08:58:31 +02:00
|
|
|
- name_template: wiretrustee/wiretrustee:signal-{{ .Version }}
|
2021-05-11 09:38:41 +02:00
|
|
|
image_templates:
|
2021-05-15 08:58:31 +02:00
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-amd64
|
2021-05-11 09:38:41 +02:00
|
|
|
|
2021-05-15 08:58:31 +02:00
|
|
|
- name_template: wiretrustee/wiretrustee:signal-latest
|
2021-05-11 09:38:41 +02:00
|
|
|
image_templates:
|
2021-05-15 08:58:31 +02:00
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/wiretrustee:signal-{{ .Version }}-amd64
|