fix(ci): reference DEPS_LOCK_ID in RUN to invalidate DinD cache
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Build and Publish Multi-Context Image / build-and-push (push) Failing after 10s

ARG-only bumps did not invalidate cached empty requirements layers on
legacy docker. Echo the lock id in the deps RUN step.
This commit is contained in:
tegwick 2026-07-06 18:36:09 +02:00
parent dffa704cd5
commit 96b730653f
2 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,7 @@ COPY pyproject.toml ./
# Bump DEPS_LOCK_ID when dependency wiring changes (busts DinD layer cache).
ARG DEPS_LOCK_ID=2
RUN python - <<'PY' > /tmp/requirements.txt
RUN echo "deps-lock=${DEPS_LOCK_ID}" && python - <<'PY' > /tmp/requirements.txt
import sys
import tomllib