Switch labels to OCI annotations

This commit is contained in:
paul 2020-08-09 21:10:42 +02:00
parent 18e2ade806
commit eb4c997d83

View file

@ -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