listmonk/.goreleaser.yml

44 lines
776 B
YAML
Raw Normal View History

env:
- GO111MODULE=on
2019-07-12 08:20:44 +00:00
- CGO_ENABLED=0
before:
hooks:
- make build-frontend
builds:
- binary: listmonk
main: ./cmd
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags:
- -s -w -X "main.buildString={{ .Tag }} ({{ .ShortCommit }} {{ .Date }})" -X "main.versionString={{ .Tag }}"
hooks:
# stuff executables with static assets.
post: make pack-bin bin={{ .Path }}
archives:
- format: tar.gz
files:
- README.md
- LICENSE
dockers:
-
goos: linux
goarch: amd64
binaries:
- listmonk
image_templates:
2019-07-12 08:20:44 +00:00
- "listmonk/listmonk:latest"
- "listmonk/listmonk:{{ .Tag }}"
dockerfile: Dockerfile
extra_files:
- config.toml.sample
- config-demo.toml