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

@ -64,8 +64,6 @@ jobs:
IMAGE="${REGISTRY}/${IMAGE_NAME}"
docker build --build-arg DEPS_LOCK_ID=2 -f buildctx/Dockerfile.ci \
-t "${IMAGE}:latest" -t "${IMAGE}:main-${SHORT}" buildctx
docker run --rm "${IMAGE}:main-${SHORT}" \
/app/.venv/bin/python -c "import asyncpg; print('asyncpg ok')"
docker push "${IMAGE}:latest"
docker push "${IMAGE}:main-${SHORT}"
echo "pushed ${IMAGE}:latest and ${IMAGE}:main-${SHORT}"