You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
watchtower/goreleaser.yml

71 lines
1.5 KiB
YAML

build:
main: ./main.go
binary: watchtower
goos:
- linux
- windows
goarch:
- amd64
- i386
- arm
- arm64
archive:
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
format: tar.gz
replacements:
arm: armhf
arm64: arm64v8
amd64: amd64
386: i386
darwin: macOS
linux: linux
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.md
dockers:
-
goos: linux
goarch: amd64
goarm: ''
dockerfile: dockerfile/amd64/Dockerfile
build_flag_templates:
- "--label=com.centurylinklabs.watchtower=true"
image_templates:
- containrrr/watchtower:{{ .Version }}
binaries:
- watchtower
6 years ago
-
goos: linux
goarch: 386
6 years ago
goarm: ''
dockerfile: dockerfile/i386/Dockerfile
build_flag_templates:
- "--label=com.centurylinklabs.watchtower=true"
image_templates:
- containrrr/watchtower:i386-{{ .Version }}
binaries:
- watchtower
-
goos: linux
goarch: arm
goarm: 6
dockerfile: dockerfile/armhf/Dockerfile
build_flag_templates:
- "--label=com.centurylinklabs.watchtower=true"
image_templates:
- containrrr/watchtower:armhf-{{ .Version }}
binaries:
- watchtower
-
goos: linux
goarch: arm64
goarm: ''
dockerfile: dockerfile/arm64v8/Dockerfile
build_flag_templates:
- "--label=com.centurylinklabs.watchtower=true"
image_templates:
- containrrr/watchtower:arm64v8-{{ .Version }}
binaries:
- watchtower