diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb9ce11..d513d69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,11 @@ stages: - build repo-sync: + rules: +# Don't run the job when tagging, it fails as $CI_COMMIT_BRANCH is not set +# https://gitlab.com/gitlab-org/gitlab-foss/-/issues/7184 +# https://docs.gitlab.com/ee/ci/yaml/README.html#rules + - if: '$CI_COMMIT_BRANCH != null' stage: build image: $CI_IMAGE variables: |