Merge branch 'chore-ci-dockerfile-change' into 'master'
chore: Build docker image in CI when Dockerfile changes See merge request mythic-insight/legendary!88
This commit is contained in:
commit
c804566dc6
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue