File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ default:
2424 rules :
2525 - if : $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "push"
2626 changes :
27- - .gitlab/Dockerfile-*
28- when : manual
27+ - .gitlab/Dockerfile-* # these are direct dependencies
28+ - .gitlab-ci.yml # list of images is here so it is a dependency too
2929 allow_failure : true
3030 image : $DOCKER_REGISTRY/docker:20.10.13
3131 parallel :
@@ -54,7 +54,13 @@ build-image-arm64:
5454
5555promote-image :
5656 stage : manual-images
57- when : manual
57+ rules : # same as build-image
58+ - if : $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "push"
59+ changes :
60+ - .gitlab/Dockerfile-* # these are direct dependencies
61+ - .gitlab-ci.yml # list of images is here so it is a dependency too
62+ when : manual # this one is manual, but it means that install-dependencies may be hitting the wrong <base>:current til this is run
63+ allow_failure : true
5864 tags : ["runner:docker"]
5965 image : $DOCKER_REGISTRY/docker:20.10.13
6066 parallel :
You can’t perform that action at this time.
0 commit comments