diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 083260ee..eb5817ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,8 +41,10 @@ test_1.12.1: build_image_for_commit: stage: test image: "docker:20.10" - only: - - master + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - changes: + - Dockerfile services: - name: docker:20.10-dind before_script: