From 86863b012fb1fdec16fffd2af2a205aec46b79af Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 28 Dec 2017 13:49:37 +0100 Subject: [CI] Allow manual docker image build through web-if --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70de33b5..557e172e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -167,7 +167,7 @@ build_docker_image: python -c "import sys, json; print json.load(sys.stdin)[1]['sha']") script: - > - if git diff $LAST_COMMIT HEAD --name-only | egrep '(tests/docker|.gitlab)'; then + if git diff $LAST_COMMIT HEAD --name-only | egrep '(tests/docker|.gitlab)' || [ "$CI_JOB_MANUAL" == "true" ] ; then if [ "$CI_COMMIT_REF_SLUG" == "master" ] then TAG='latest' -- cgit v1.2.3