2017-02-02 19:37:12 +02:00
|
|
|
build:
|
|
|
|
main: ./main.go
|
2019-04-04 23:08:44 +02:00
|
|
|
binary: watchtower
|
2017-02-02 19:37:12 +02:00
|
|
|
goos:
|
|
|
|
- linux
|
2017-12-27 16:37:55 +02:00
|
|
|
- windows
|
2017-02-02 19:37:12 +02:00
|
|
|
goarch:
|
|
|
|
- amd64
|
2019-04-07 16:51:37 +02:00
|
|
|
- i386
|
2017-02-03 08:39:13 +02:00
|
|
|
- arm
|
2018-03-19 15:00:30 +02:00
|
|
|
- arm64
|
2017-02-02 19:37:12 +02:00
|
|
|
archive:
|
2017-12-27 08:35:25 +02:00
|
|
|
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
|
2017-02-02 19:37:12 +02:00
|
|
|
format: tar.gz
|
|
|
|
replacements:
|
2017-02-16 17:41:50 +02:00
|
|
|
arm: armhf
|
2018-03-19 15:00:30 +02:00
|
|
|
arm64: arm64v8
|
2017-02-02 19:37:12 +02:00
|
|
|
amd64: amd64
|
2019-04-07 16:51:37 +02:00
|
|
|
386: i386
|
2017-02-02 19:37:12 +02:00
|
|
|
darwin: macOS
|
|
|
|
linux: linux
|
2017-12-27 16:37:55 +02:00
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2017-02-02 19:37:12 +02:00
|
|
|
files:
|
|
|
|
- LICENSE.md
|
2017-12-27 08:35:25 +02:00
|
|
|
dockers:
|
|
|
|
-
|
|
|
|
goos: linux
|
|
|
|
goarch: amd64
|
|
|
|
goarm: ''
|
|
|
|
dockerfile: dockerfile/amd64/Dockerfile
|
2019-04-04 23:08:44 +02:00
|
|
|
build_flag_templates:
|
|
|
|
- "--label=com.centurylinklabs.watchtower=true"
|
|
|
|
image_templates:
|
|
|
|
- containrrr/watchtower:{{ .Version }}
|
|
|
|
binaries:
|
|
|
|
- watchtower
|
2018-08-22 14:17:16 +02:00
|
|
|
-
|
|
|
|
goos: linux
|
2019-04-07 16:51:37 +02:00
|
|
|
goarch: i386
|
2018-08-22 14:17:16 +02:00
|
|
|
goarm: ''
|
2019-04-07 16:51:37 +02:00
|
|
|
dockerfile: dockerfile/i386/Dockerfile
|
|
|
|
build_flag_templates:
|
|
|
|
- "--label=com.centurylinklabs.watchtower=true"
|
|
|
|
image_templates:
|
|
|
|
- containrrr/watchtower:i386-{{ .Version }}
|
|
|
|
binaries:
|
|
|
|
- watchtower
|
2017-12-27 08:35:25 +02:00
|
|
|
-
|
|
|
|
goos: linux
|
|
|
|
goarch: arm
|
|
|
|
goarm: 6
|
|
|
|
dockerfile: dockerfile/armhf/Dockerfile
|
2019-04-04 23:08:44 +02:00
|
|
|
build_flag_templates:
|
|
|
|
- "--label=com.centurylinklabs.watchtower=true"
|
|
|
|
image_templates:
|
|
|
|
- containrrr/watchtower:armhf-{{ .Version }}
|
|
|
|
binaries:
|
|
|
|
- watchtower
|
2018-03-19 15:00:30 +02:00
|
|
|
-
|
|
|
|
goos: linux
|
|
|
|
goarch: arm64
|
|
|
|
goarm: ''
|
|
|
|
dockerfile: dockerfile/arm64v8/Dockerfile
|
2019-04-04 23:08:44 +02:00
|
|
|
build_flag_templates:
|
|
|
|
- "--label=com.centurylinklabs.watchtower=true"
|
|
|
|
image_templates:
|
|
|
|
- containrrr/watchtower:arm64v8-{{ .Version }}
|
|
|
|
binaries:
|
|
|
|
- watchtower
|