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:
|
2021-11-13 22:28:21 +01:00
|
|
|
- goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
- arm
|
|
|
|
goarm:
|
2021-11-13 22:52:11 +01:00
|
|
|
- 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:
|
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"
|
2021-12-05 01:31:18 +01:00
|
|
|
dockerfile: Dockerfile.release
|
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 }}
|
2021-11-13 21:46:05 +01:00
|
|
|
|
2020-12-28 19:09:59 +01:00
|
|
|
- image_templates:
|
|
|
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
|
2021-12-05 01:31:18 +01:00
|
|
|
dockerfile: Dockerfile.release
|
2020-12-28 19:09:59 +01:00
|
|
|
goarch: arm64
|
|
|
|
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"
|
2021-12-05 01:31:18 +01:00
|
|
|
dockerfile: Dockerfile.release
|
2020-12-28 19:09:59 +01:00
|
|
|
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 }}
|
2021-11-13 21:46:05 +01:00
|
|
|
|
2020-12-28 19:09:59 +01:00
|
|
|
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:'
|