1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00
watchtower/goreleaser.yml
Simon Aronsson 1b82da1ab7 Setup a working pipeline
* add tests to ensure function even after switching docker client api version
* switch docker client api version to remove import of Sirupsen and get rid of the casing workaround
* migrate from glide to dep to go modules
* rewrite ci workflow
  * only run publish on version tags
  * only run build on branches
  * update goreleaser config
  * disable automated latest tag push
* remove dependency to v2tec/docker-gobuilder
* remove dead code and files
* add golands .idea folder to gitignore
* add label to released docker images
* add test reporting, add some unit tests
* change test output dir
* fix goreleaser versions
* add debug output for circleci and goreleaser
* disable cgo
2019-04-06 13:57:26 +02:00

59 lines
1.2 KiB
YAML

build:
main: ./main.go
binary: watchtower
goos:
- linux
- windows
goarch:
- amd64
- arm
- arm64
archive:
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:
-
goos: linux
goarch: amd64
goarm: ''
dockerfile: dockerfile/amd64/Dockerfile
build_flag_templates:
- "--label=com.centurylinklabs.watchtower=true"
image_templates:
- containrrr/watchtower:{{ .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