moved adding label about base image digest to CI steps

This commit is contained in:
Brian Bjarke Jensen
2025-10-03 23:07:32 +02:00
parent cb41fabd09
commit cd55d0f60b
2 changed files with 4 additions and 5 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
FROM ghcr.io/mlflow/mlflow:latest
ARG BASE_IMAGE_DIGEST=unknown
# Set a label with the base image digest for traceability
LABEL base-image.digest="${BASE_IMAGE_DIGEST}" \
build-date="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
# Set a labels for traceability
LABEL build-date="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
maintainer="Brian Jensen"
# Use --no-cache-dir to avoid storing pip cache in the image