diff --git a/.goreleaser.yml b/.goreleaser.yml index 3061255..944dd02 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: diff --git a/Dockerfile b/Dockerfile index 29c6b28..c5439e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ +LABEL org.opencontainers.image.authors="Geoff Bourne " +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"]