schnutibox/.goreleaser.yml
Marvin Steadfast 3b630a6dbd
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/tag Build is failing
ci: adds dockerfile
2021-05-10 13:14:15 +02:00

53 lines
894 B
YAML

---
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:"
- "^ci:"
- "happy linting"
release:
github:
owner: xsteadfastx
name: schnutibox
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}}