mirror of
https://github.com/containrrr/watchtower.git
synced 2024-12-12 09:04:17 +02:00
d0943c3b77
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
77 lines
1.7 KiB
YAML
77 lines
1.7 KiB
YAML
build:
|
|
main: ./main.go
|
|
binary: watchtower
|
|
goos:
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- arm
|
|
- arm64
|
|
archives:
|
|
-
|
|
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
|
|
format: tar.gz
|
|
replacements:
|
|
arm: armhf
|
|
arm64: arm64v8
|
|
amd64: amd64
|
|
386: 386
|
|
darwin: macOS
|
|
linux: linux
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- LICENSE.md
|
|
dockers:
|
|
-
|
|
use_buildx: true
|
|
build_flag_templates: [ "--platform=linux/amd64" ]
|
|
goos: linux
|
|
goarch: amd64
|
|
goarm: ''
|
|
dockerfile: dockerfiles/Dockerfile
|
|
image_templates:
|
|
- containrrr/watchtower:amd64-{{ .Version }}
|
|
- containrrr/watchtower:amd64-latest
|
|
binaries:
|
|
- watchtower
|
|
-
|
|
use_buildx: true
|
|
build_flag_templates: [ "--platform=linux/386" ]
|
|
goos: linux
|
|
goarch: 386
|
|
goarm: ''
|
|
dockerfile: dockerfiles/Dockerfile
|
|
image_templates:
|
|
- containrrr/watchtower:i386-{{ .Version }}
|
|
- containrrr/watchtower:i386-latest
|
|
binaries:
|
|
- watchtower
|
|
-
|
|
use_buildx: true
|
|
build_flag_templates: [ "--platform=linux/arm/v6" ]
|
|
goos: linux
|
|
goarch: arm
|
|
goarm: 6
|
|
dockerfile: dockerfiles/Dockerfile
|
|
image_templates:
|
|
- containrrr/watchtower:armhf-{{ .Version }}
|
|
- containrrr/watchtower:armhf-latest
|
|
binaries:
|
|
- watchtower
|
|
-
|
|
use_buildx: true
|
|
build_flag_templates: [ "--platform=linux/arm64/v8" ]
|
|
goos: linux
|
|
goarch: arm64
|
|
goarm: ''
|
|
dockerfile: dockerfiles/Dockerfile
|
|
image_templates:
|
|
- containrrr/watchtower:arm64v8-{{ .Version }}
|
|
- containrrr/watchtower:arm64v8-latest
|
|
binaries:
|
|
- watchtower
|