Browse Source

Make sure we don't run build on Docker branches/tags.

xmkb
Pete Johanson 4 years ago
parent
commit
858abaf0d4
  1. 5
      .gitlab-ci.yml

5
.gitlab-ci.yml

@ -2,6 +2,11 @@ variables: @@ -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:

Loading…
Cancel
Save