Commit f113a216 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

fix image name for tags

parent 261a66ee
Pipeline #94059 passed with stages
in 15 minutes and 16 seconds
......@@ -63,6 +63,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