nurse/.goreleaser.yaml

42 lines
757 B
YAML
Raw Normal View History

2022-04-28 16:35:02 +00:00
before:
hooks:
- go mod tidy
builds:
- id: nurse
binary: nurse
flags:
- -trimpath
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- ids:
- nurse
image_templates:
- ghcr.io/baez90/nurse:latest
- ghcr.io/baez90/nurse:{{ .Tag }}
- ghcr.io/baez90/nurse:{{ .Major }}
- ghcr.io/baez90/nurse:{{ .ShortCommit}}
dockerfile: deployments/Dockerfile