mc-router/.goreleaser.yml

89 lines
2.1 KiB
YAML
Raw Normal View History

2018-05-10 01:37:15 +02:00
project_name: mc-router
release:
github:
owner: itzg
name: mc-router
2019-04-16 04:16:26 +02:00
before:
hooks:
- go mod download
brews:
- install: |
bin.install "mc-router"
2018-05-10 01:37:15 +02:00
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
2019-07-15 00:02:38 +02:00
main: ./cmd/mc-router
2018-05-10 01:37:15 +02:00
binary: mc-router
env:
- CGO_ENABLED=0
2019-04-20 03:45:12 +02:00
archives:
- id: tar_gz
format: tar.gz
2019-07-14 23:59:43 +02:00
format_overrides:
- goos: windows
format: zip
2019-04-20 03:45:12 +02:00
files:
- LICENSE*
- README*
2018-05-10 01:37:15 +02:00
snapshot:
name_template: SNAPSHOT-{{ .ShortCommit }}
2018-05-10 01:37:15 +02:00
dockers:
2019-04-20 03:45:12 +02:00
- image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
2018-05-10 01:37:15 +02:00
goarch: amd64
build_flag_templates:
- --platform
- linux/amd64
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries:
- mc-router
- image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
goarch: arm64
binaries:
- mc-router
build_flag_templates:
- --platform
- linux/arm64
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm32v6"
goarch: arm
goarm: "6"
build_flag_templates:
- --platform
- linux/arm/v6
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries:
- mc-router
docker_manifests:
- name_template: "itzg/{{ .ProjectName }}:{{ .Version }}"
image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm32v6"
- name_template: "itzg/{{ .ProjectName }}:latest"
image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm32v6"
2018-05-26 19:35:11 +02:00
changelog:
filters:
exclude:
- '^ci:'
2020-01-04 21:30:49 +01:00
- '^docs:'
- '^misc:'
- '^test:'