From ef6f028f3f39830fa782cfd1b46dfaa1f86352d3 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 9 Aug 2020 20:51:19 +0200 Subject: [PATCH] Add labels to image --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index f15e62a..d941f07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,11 @@ FROM scratch + +ARG GIT_COMMIT= +# Image labels, see http://label-schema.org/rc1/ +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 + ENV HELLO=world \ No newline at end of file