From 7fff858408bf41de89d0af8ef75df7758172dcdc Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 9 May 2026 22:30:37 +0000 Subject: [PATCH] ci(base-images): also trigger rebuild on .docker/install-base-deps.sh changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit base-images.yml's master-push trigger had a path filter listing only backend/Dockerfile.base-grpc-builder and .github/workflows/base-images.yml. That misses .docker/install-base-deps.sh — which is the actual source of truth for what goes into each base image (apt deps, gRPC, conditional CUDA/ROCm/Vulkan installs). The script is bind-mounted into the base Dockerfile at build time; changes to it would change the produced images, but without this path filter, the workflow wouldn't auto-rebuild on those changes. Stale bases would persist until Saturday's cron or a manual workflow_dispatch. Same applies to .docker/apt-mirror.sh, also bind-mounted by the base Dockerfile. Add both to the trigger paths so consumer-affecting changes to either file rebuild the bases automatically. Assisted-by: Claude:claude-opus-4-7 Signed-off-by: Ettore Di Giacinto --- .github/workflows/base-images.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/base-images.yml b/.github/workflows/base-images.yml index 7d6f2b238..6152e1c56 100644 --- a/.github/workflows/base-images.yml +++ b/.github/workflows/base-images.yml @@ -28,6 +28,11 @@ on: paths: - 'backend/Dockerfile.base-grpc-builder' - '.github/workflows/base-images.yml' + # The install logic and apt-mirror helper are bind-mounted into + # Dockerfile.base-grpc-builder at build time — changes to either + # affect the produced base images and must trigger a rebuild. + - '.docker/install-base-deps.sh' + - '.docker/apt-mirror.sh' concurrency: group: ci-base-images-${{ github.event.pull_request.number || github.sha }}-${{ github.repository }}