Commit 8a3b249e authored by Philip ABBET's avatar Philip ABBET

Fix the CI

parent 7de5c73d
Pipeline #13950 passed with stage
in 76 minutes and 5 seconds
......@@ -15,7 +15,7 @@ before_script:
build:
stage: build
only:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
- /^v\d+\.\d+\.\d+r\d+$/
variables:
CONTAINER_NAME: $DOCKER_REGISTRY/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME
script:
......@@ -38,7 +38,7 @@ deploy_version:
- ALL_TAGS=`git tag --contains $CI_BUILD_REF`
- for TAG in $ALL_TAGS;
do
if [[ $TAG =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+([abc][[:digit:]]*)?$ ]]; then
if [[ $TAG =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+r\.[[:digit:]]$ ]]; then
CONTAINER_NAME=$DOCKER_REGISTRY/$CI_PROJECT_PATH:$TAG;
break;
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