samurai/.goreleaser.yml

37 lines
628 B
YAML

---
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