mirror of
https://github.com/itzg/mc-router.git
synced 2025-02-18 01:21:58 +01:00
ci: Shifted fixed labels into Dockerfile
This commit is contained in:
parent
5707fb251d
commit
e34db95836
@ -41,8 +41,6 @@ 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:
|
||||
@ -55,8 +53,6 @@ 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:
|
||||
@ -66,8 +62,6 @@ 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:
|
||||
|
@ -1,3 +1,7 @@
|
||||
LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
|
||||
LABEL org.opencontainers.image.title="mc-router"
|
||||
LABEL org.opencontainers.image.source="https://github.com/itzg/mc-router"
|
||||
|
||||
FROM scratch
|
||||
COPY mc-router /
|
||||
ENTRYPOINT ["/mc-router"]
|
||||
|
Loading…
Reference in New Issue
Block a user