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-24 21:06:33 +01:00
|
|
|
- arm64
|
2020-12-24 21:26:25 +01:00
|
|
|
- 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-24 20:52:40 +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-24 20:52:40 +01:00
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
|
|
|
- "itzg/{{ .ProjectName }}:latest"
|
2018-05-10 01:37:15 +02:00
|
|
|
goarch: amd64
|
2020-12-26 03:38:24 +01:00
|
|
|
build_flag_templates:
|
|
|
|
- --platform
|
|
|
|
- linux/amd64
|
2020-12-26 04:00:17 +01:00
|
|
|
- --label=org.opencontainers.image.version={{ .Version }}
|
|
|
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
2020-12-24 21:02:15 +01:00
|
|
|
binaries:
|
|
|
|
- mc-router
|
2020-12-24 20:52:40 +01:00
|
|
|
- image_templates:
|
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
|
|
|
|
goarch: arm64
|
2020-12-24 21:02:15 +01:00
|
|
|
binaries:
|
|
|
|
- mc-router
|
2020-12-26 03:38:24 +01:00
|
|
|
build_flag_templates:
|
|
|
|
- --platform
|
|
|
|
- linux/arm64
|
2020-12-26 04:00:17 +01:00
|
|
|
- --label=org.opencontainers.image.version={{ .Version }}
|
|
|
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
2020-12-24 21:20:51 +01:00
|
|
|
- image_templates:
|
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm32v6"
|
|
|
|
goarch: arm
|
|
|
|
goarm: "6"
|
2020-12-26 03:38:24 +01:00
|
|
|
build_flag_templates:
|
|
|
|
- --platform
|
|
|
|
- linux/arm/v6
|
2020-12-26 04:00:17 +01:00
|
|
|
- --label=org.opencontainers.image.version={{ .Version }}
|
|
|
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
2020-12-24 21:20:51 +01:00
|
|
|
binaries:
|
|
|
|
- mc-router
|
2020-12-24 20:52:40 +01:00
|
|
|
docker_manifests:
|
|
|
|
- name_template: "itzg/{{ .ProjectName }}:{{ .Version }}"
|
|
|
|
image_templates:
|
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
|
2020-12-24 21:20:51 +01:00
|
|
|
- "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:'
|