Add created label
This commit is contained in:
parent
6aa1f79d17
commit
81e8ae3e20
1 changed files with 5 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue