Files
kapow/.goreleaser.yml
pancho horrillo ae5bd9b395 feat: first cut at building docker images
- Update .goreleaser to build docker images
- Update Dockerfile to work with goreleaser
- Update examples/docker/awscli/Dockerfile to pull kapow docker image

Co-authored-by: César Gallego <gallego.cesar@gmail.com>
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-05-12 10:24:19 +02:00

62 lines
1.1 KiB
YAML

before:
hooks:
- go mod tidy
project_name: kapow
builds:
- id: kapow
flags:
- -trimpath
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
archives:
- format: binary
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA512SUMS'
algorithm: sha512
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- artifacts: checksum
signature: "${artifact}.GPG"
args: ["--batch", "--local-user", "release-bot@kapow", "--output", "${signature}", "--armor", "--clear-sign", "${artifact}"]
dockers:
- goos: linux
goarch: amd64
goarm: ''
binaries:
- kapow
builds:
- kapow
image_templates:
- "bbvalabsci/kapow:latest"
- "bbvalabsci/kapow:{{ .Tag }}"
- "bbvalabsci/kapow:{{ .Tag }}-{{ .Env.GO_VERSION }}"
- "bbvalabsci/kapow:v{{ .Major }}"