diff options
author | Varac <varac@leap.se> | 2017-12-28 13:49:37 +0100 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-12-28 13:49:37 +0100 |
commit | 86863b012fb1fdec16fffd2af2a205aec46b79af (patch) | |
tree | 5947604bf04a7e734749408889b70c835d027bb3 /.gitlab-ci.yml | |
parent | 36d365ffc5969c639db8a7833d2e29c77057a2ea (diff) |
[CI] Allow manual docker image build through web-if
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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' |