Switch labels to OCI annotations
This commit is contained in:
parent
18e2ade806
commit
eb4c997d83
1 changed files with 4 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
ARG GIT_COMMIT=
|
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 \
|
LABEL \
|
||||||
org.label-schema.schema-version=1.0 \
|
org.opencontainers.image.vendor=Zombi \
|
||||||
org.label-schema.vendor=Zombi \
|
org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \
|
||||||
org.label-schema.vcs-url=https://gitea.zom.bi/images/hello-world.git \
|
org.opencontainers.image.revision=$GIT_COMMIT
|
||||||
org.label-schema.vcs-ref=$GIT_COMMIT
|
|
||||||
|
|
||||||
ENV HELLO=world
|
ENV HELLO=world
|
Loading…
Reference in a new issue