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
|
2020-07-06 03:19:45 +02:00
|
|
|
brews:
|
|
|
|
- install: |
|
|
|
|
bin.install "mc-router"
|
2018-05-10 01:37:15 +02:00
|
|
|
builds:
|
|
|
|
- goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2020-12-28 19:09:59 +01:00
|
|
|
- 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:
|
2020-12-28 19:09:59 +01:00
|
|
|
name_template: SNAPSHOT-{{ .ShortCommit }}
|
2018-05-10 01:37:15 +02:00
|
|
|
dockers:
|
2019-04-20 03:45:12 +02:00
|
|
|
- image_templates:
|
2020-12-28 19:09:59 +01:00
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
2018-05-10 01:37:15 +02:00
|
|
|
goarch: amd64
|
2020-12-28 19:09:59 +01:00
|
|
|
build_flag_templates:
|
|
|
|
- --platform
|
|
|
|
- linux/amd64
|
2020-12-28 20:00:25 +01:00
|
|
|
- --load
|
2020-12-28 19:09:59 +01:00
|
|
|
- --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
|
2020-12-28 20:00:25 +01:00
|
|
|
- --load
|
2020-12-28 19:09:59 +01:00
|
|
|
- --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
|
2020-12-28 20:00:25 +01:00
|
|
|
- --load
|
2020-12-28 19:09:59 +01:00
|
|
|
- --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"
|
2020-12-29 17:26:45 +01:00
|
|
|
- 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:
|
2018-05-26 21:03:04 +02:00
|
|
|
- '^ci:'
|
2020-01-04 21:30:49 +01:00
|
|
|
- '^docs:'
|
|
|
|
- '^misc:'
|
2020-07-06 03:19:45 +02:00
|
|
|
- '^test:'
|