Make sure we don't run build on Docker branches/tags.
This commit is contained in:
parent
c5e4eea3fd
commit
858abaf0d4
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@ variables:
|
||||||
CI_BUILD_IMAGE: $CI_REGISTRY_IMAGE/zmk-build
|
CI_BUILD_IMAGE: $CI_REGISTRY_IMAGE/zmk-build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
rules:
|
||||||
|
- if: '$CI_COMMIT_REF_SLUG =~ /^docker/'
|
||||||
|
when: never
|
||||||
|
- when: on_success
|
||||||
|
|
||||||
image: $CI_BUILD_IMAGE
|
image: $CI_BUILD_IMAGE
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
|
Loading…
Reference in a new issue