samurai/.goreleaser.yml

37 lines
628 B
YAML
Raw Normal View History

2021-03-22 10:58:08 +01:00
---
builds:
- binary: samurai
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
goarch:
- amd64
archives:
- replacements:
darwin: macos
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
dockers:
- image_templates:
- "ghcr.io/xsteadfastx/samurai:latest"
- "ghcr.io/xsteadfastx/samurai:{{ .Tag }}"
- "ghcr.io/xsteadfastx/samurai:{{ .Major }}"
dockerfile: build/package/docker/Dockerfile