Commit 8d2cc475 authored by Marcel Huber's avatar Marcel Huber
Browse files

using BUILD_TAG as schema label version

parent 1560c60c
Pipeline #49 passed with stages
in 1 minute and 19 seconds
......@@ -9,13 +9,13 @@ ARG MY_DOCKER_FILE
ARG CI_PROJECT_URL
ARG VCS_REF
ARG VCS_URL
LABEL org.label-schema.build-date=$BUILD_TIME \
LABEL org.label-schema.build-date="$BUILD_TIME" \
org.label-schema.docker.dockerfile="$MY_DOCKER_FILE" \
org.label-schema.name="$MY_IMAGE_NAME" \
org.label-schema.url=$CI_PROJECT_URL \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.version=$BUILD_DATE \
org.label-schema.url="$CI_PROJECT_URL" \
org.label-schema.vcs-ref="$VCS_REF" \
org.label-schema.vcs-url="$VCS_URL" \
org.label-schema.version="$BUILD_TAG" \
org.label-schema.schema-version="1.0"
ENV BUILD_DATE=$BUILD_DATE
ENV BUILD_TAG=$BUILD_TAG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment