ci: fixed dockers.binaries of goreleaser config

This commit is contained in:
Geoff Bourne 2021-11-13 14:46:05 -06:00
parent 7b741337cd
commit e626012df9

View File

@ -43,13 +43,10 @@ dockers:
- --load - --load
- --label=org.opencontainers.image.version={{ .Version }} - --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }} - --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries:
- mc-router
- image_templates: - image_templates:
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm64" - "itzg/{{ .ProjectName }}:{{ .Version }}-arm64"
goarch: arm64 goarch: arm64
binaries:
- mc-router
build_flag_templates: build_flag_templates:
- --platform - --platform
- linux/arm64 - linux/arm64
@ -66,8 +63,7 @@ dockers:
- --load - --load
- --label=org.opencontainers.image.version={{ .Version }} - --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }} - --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries:
- mc-router
docker_manifests: docker_manifests:
- name_template: "itzg/{{ .ProjectName }}:{{ .Version }}" - name_template: "itzg/{{ .ProjectName }}:{{ .Version }}"
image_templates: image_templates: