mc-router/.goreleaser.yml

95 lines
2.3 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:
2021-11-13 22:28:21 +01:00
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
goarm:
- 6
2021-11-13 22:28:21 +01:00
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
main: ./cmd/mc-router
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:
2021-11-13 22:28:21 +01:00
- 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"
dockerfile: Dockerfile.release
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 }}
- image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
dockerfile: Dockerfile.release
goarch: arm64
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"
dockerfile: Dockerfile.release
goarch: arm
goarm: "6"
build_flag_templates:
- --platform
- linux/arm/v6
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
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:'