Skip to content

dev/ci: run docker-images builds if docker-images has been changed

Administrator requested to merge ci-run-image-builds-on-image-changed into main

Created by: bobheadxi

Closes https://github.com/sourcegraph/sourcegraph/issues/35969

If a diff in docker-images is detected, we run a build of all images. We just build everything for simplicity here - if we change this build to happen via a sg command, we can make it diff-based, but these days we intentionally do not make individual changed files available during pipeline generation, so I think this is a reasonable approach.

Test plan

Generated pipeline reference confirms steps are present.

Test build with docker-images diff: https://buildkite.com/sourcegraph/sourcegraph/builds/151260

image

Merge request reports

Loading