From December 8 to December 10 the underlying cloud platform running GitLab CI jobs is being extended and thus, is unavailable. We do our best to compensate this with other resources but it might happen that you experience extended startup times for your CI jobs. Thanks for your understanding!

Commit 7ee9357f authored by Thomas Beermann's avatar Thomas Beermann
Browse files

fix image name for tags

parent 5b4c0b37
Pipeline #94285 canceled with stages
in 12 seconds
......@@ -57,6 +57,9 @@ docker_build_push:
docker push $DOCKER_IMAGE_BASE:latest
else
tag=$(echo $CI_COMMIT_REF_NAME | tr [:upper:] [:lower:] | tr [:punct:] -)
if [[ -n "$CI_COMMIT_TAG" ]]; then
tag=$CI_COMMIT_TAG
fi
docker build -t $DOCKER_IMAGE_BASE:$tag .
docker push $DOCKER_IMAGE_BASE:$tag
fi
......
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