schnutibox/.goreleaser.yml

54 lines
943 B
YAML
Raw Normal View History

---
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm
goarm:
- 6
- 7
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
2021-06-01 11:42:06 +02:00
- "-X go.xsfx.dev/schnutibox/cmd.version={{.Version}}"
- "-X go.xsfx.dev/schnutibox/cmd.commit={{.ShortCommit}}"
- "-X go.xsfx.dev/schnutibox/cmd.date={{.Date}}"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
2021-04-16 09:25:41 +02:00
- "^ci:"
- "^dev:"
2021-04-16 09:25:41 +02:00
- "happy linting"
2021-04-16 09:23:11 +02:00
release:
github:
owner: xsteadfastx
name: schnutibox
2021-05-10 13:14:15 +02:00
dockers:
- dockerfile: build/package/docker/Dockerfile
goos: linux
goarch: amd64
image_templates:
- ghcr.io/xsteadfastx/schnutibox:latest
- ghcr.io/xsteadfastx/schnutibox:{{ .Tag }}
- ghcr.io/xsteadfastx/schnutibox:v{{ .Major}}