Add created label

This commit is contained in:
paul 2020-08-10 00:26:49 +02:00
parent 6aa1f79d17
commit 81e8ae3e20

View file

@ -7,13 +7,17 @@ RUN \
FROM scratch FROM scratch
ARG GIT_COMMIT= ARG \
GIT_COMMIT=\
BUILD_DATE=
# Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md # Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL \ LABEL \
org.opencontainers.image.vendor=Zombi \ org.opencontainers.image.vendor=Zombi \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \ org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \
org.opencontainers.image.revision=$GIT_COMMIT org.opencontainers.image.revision=$GIT_COMMIT
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENV HELLO=world ENV HELLO=world