diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8182a3ea92bce291b5815d52e4559df23f2b7d0..775812429b9b0a8b67751410fcc1650e7a6a906f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,7 +69,7 @@ test docker: refs: - tags variables: - - $CI_COMMIT_TITLE =~ /^RELEASE:.+$/ + - "$CI_COMMIT_TITLE =~ /^RELEASE:.+$/ && $CI_PIPELINE_SOURCE == 'schedule'" release: needs: ['test docker'] @@ -89,7 +89,7 @@ release: refs: - tags variables: - - $CI_COMMIT_TITLE =~ /^RELEASE:.+$/ + - "$CI_COMMIT_TITLE =~ /^RELEASE:.+$/ && $CI_PIPELINE_SOURCE == 'schedule'" build: image: griefed/gitlab-ci-cd:2.0.0