From eb4c997d83a402219881c82bcf7da122e49694a6 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 9 Aug 2020 21:10:42 +0200 Subject: [PATCH] Switch labels to OCI annotations --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d941f07..fbd56bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM scratch ARG GIT_COMMIT= -# Image labels, see http://label-schema.org/rc1/ +# Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md LABEL \ - org.label-schema.schema-version=1.0 \ - org.label-schema.vendor=Zombi \ - org.label-schema.vcs-url=https://gitea.zom.bi/images/hello-world.git \ - org.label-schema.vcs-ref=$GIT_COMMIT + org.opencontainers.image.vendor=Zombi \ + org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \ + org.opencontainers.image.revision=$GIT_COMMIT ENV HELLO=world \ No newline at end of file