Files
athens/.goreleaser.yml
Richard Hillmann e35007b3a2 feat: Publish multi-arch docker image (amd64 and arm64) (#1862)
* add arm64 to goreleaser
2023-05-04 09:11:47 +02:00

31 lines
560 B
YAML

before:
hooks:
- go mod download
env:
- CGO_ENABLED=0
- GOPROXY=https://proxy.golang.org
project_name: athens
builds:
- id: builds
goos:
- linux
- darwin
goarch:
- amd64
- arm64
main: cmd/proxy/main.go
binary: athens
ldflags:
- -X "github.com/gomods/athens/pkg/build.version={{ .Tag }}"
- -X "github.com/gomods/athens/pkg/build.buildDate={{ .Env.DATE }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'