This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 30e2470c7f7b2b13c0a4fc3f90e5dc3ccac223a8 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Mar 30 18:04:04 2017 +0200 fix gitlab ci --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da7bdca..c2e15a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,7 @@ release: stage: release when: manual only: - #- /^\b(pollen-)?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?\b$/ig + - /^(pollen-)?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?$/i - tags artifacts: paths: @@ -59,8 +59,10 @@ release: name: "${CI_BUILD_REF_NAME}" script: - docker build --no-cache -t registry.nuiton.org/chorem/pollen -f Dockerfile . + - docker tag registry.nuiton.org/chorem/pollen registry.nuiton.org/chorem/pollent:$(echo $CI_BUILD_REF_NAME | sed 's/^pollen-//') - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.nuiton.org - - docker push registry.nuiton.org/chorem/pollen:${CI_BUILD_REF_NAME} + - docker push registry.nuiton.org/chorem/pollen:$(echo $CI_BUILD_REF_NAME | sed 's/^pollen-//') + - docker logout dependencies: - build-java - build-js -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.