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 3578c850ef5040f9d5f3afbab152b450474a01b3 Author: Jean Couteau <couteau@codelutin.com> Date: Mon Jan 11 15:20:49 2021 +0100 Fix docker build ? --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b468b22c..da51dc0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -151,6 +151,29 @@ docker:latest: tags: - docker +docker-latest: + image: registry.nuiton.org/codelutin/dockerfiles:docker + stage: docker + rules: + - if: '$CI_COMMIT_BRANCH =~ /^develop\/.*$/ && $CI_COMMIT_TAG =~ /^$/ && $CI_PIPELINE_SOURCE != "schedule"' + when: manual + artifacts: + paths: + - pollen-rest-api/target/pollen-rest-api-*.war + - pollen-ui-riot-js/target/dist + 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/pollen:$(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:$(echo $CI_BUILD_REF_NAME | sed 's/^pollen-//') + - docker logout registry.nuiton.org + dependencies: + - build-java + - build-js + tags: + - docker + docker:feature: image: registry.nuiton.org/codelutin/dockerfiles:docker stage: docker -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.