Add new Dockerfile label org.opencontainers.image.revision

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-08-19 21:20:40 -04:00
parent d34f0219b1
commit 43ca5f5ef1
5 changed files with 14 additions and 11 deletions

View file

@ -18,6 +18,7 @@ FROM ${BASE_IMAGE}
ARG TARGETARCH
ARG VERSION
ARG COMMIT_SHA
LABEL org.opencontainers.image.title="NGINX Ingress Controller for Kubernetes"
LABEL org.opencontainers.image.documentation="https://kubernetes.github.io/ingress-nginx/"
@ -25,6 +26,7 @@ LABEL org.opencontainers.image.source="https://github.com/kubernetes/ingress-ngi
LABEL org.opencontainers.image.vendor="The Kubernetes Authors"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.version="${VERSION}"
LABEL org.opencontainers.image.revision="${COMMIT_SHA}"
WORKDIR /etc/nginx