mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-28 12:35:21 +01:00
ci: Added opencontainers labels
This commit is contained in:
parent
8ccbdbfa38
commit
5707fb251d
@ -41,6 +41,10 @@ dockers:
|
||||
build_flag_templates:
|
||||
- --platform
|
||||
- linux/amd64
|
||||
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
||||
- --label=org.opencontainers.image.source=https://github.com/itzg/mc-router
|
||||
- --label=org.opencontainers.image.version={{ .Version }}
|
||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||
binaries:
|
||||
- mc-router
|
||||
- image_templates:
|
||||
@ -51,6 +55,10 @@ dockers:
|
||||
build_flag_templates:
|
||||
- --platform
|
||||
- linux/arm64
|
||||
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
||||
- --label=org.opencontainers.image.source=https://github.com/itzg/mc-router
|
||||
- --label=org.opencontainers.image.version={{ .Version }}
|
||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||
- image_templates:
|
||||
- "itzg/{{ .ProjectName }}:{{ .Version }}-arm32v6"
|
||||
goarch: arm
|
||||
@ -58,6 +66,10 @@ dockers:
|
||||
build_flag_templates:
|
||||
- --platform
|
||||
- linux/arm/v6
|
||||
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
||||
- --label=org.opencontainers.image.source=https://github.com/itzg/mc-router
|
||||
- --label=org.opencontainers.image.version={{ .Version }}
|
||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||
binaries:
|
||||
- mc-router
|
||||
docker_manifests:
|
||||
|
Loading…
Reference in New Issue
Block a user