fix(ci): bust DinD deps cache without full --no-cache rebuild
Some checks failed
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 21s
Build and Publish Multi-Context Image / build-and-push (push) Failing after 33s

Full --no-cache exceeded runner time budget. Use DEPS_LOCK_ID build-arg
and fail-fast checks on requirements.txt instead.
This commit is contained in:
tegwick 2026-07-06 18:32:02 +02:00
parent 8ee95dabb9
commit dffa704cd5
2 changed files with 10 additions and 2 deletions

View file

@ -62,7 +62,7 @@ jobs:
export PATH="${HOME}/bin:${PATH}"
echo "${REGISTRY_TOKEN}" | docker login "${REGISTRY}" -u "${REGISTRY_USER}" --password-stdin
IMAGE="${REGISTRY}/${IMAGE_NAME}"
docker build --no-cache -f buildctx/Dockerfile.ci \
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')"