diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-11 11:46:06 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-11 11:46:06 -0400 |
commit | 858abaf0d45572bf692964c004f22b9053643316 (patch) | |
tree | 45360b3095b9ed196a65a449b968907487870682 | |
parent | c5e4eea3fdc21786f78337c69d03f74252bfbaf5 (diff) |
Make sure we don't run build on Docker branches/tags.
-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 5477dc7..90e46a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,11 @@ variables: CI_BUILD_IMAGE: $CI_REGISTRY_IMAGE/zmk-build build: + rules: + - if: '$CI_COMMIT_REF_SLUG =~ /^docker/' + when: never + - when: on_success + image: $CI_BUILD_IMAGE variables: |