schnutibox/.goreleaser.yml

53 lines
894 B
YAML
Raw Permalink Normal View History

---
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm
goarm:
- 6
- 7
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X go.xsfx.dev/cmd.version={{.Version}}"
- "-X go.xsfx.dev/cmd.commit={{.ShortCommit}}"
- "-X go.xsfx.dev/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:"
- "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}}