fix(ci): single RUN for deps + uv install on legacy DinD
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 14s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 1m2s

Legacy docker cannot chain shell after heredoc and does not persist
/tmp between RUN steps. Use python -c and one RUN for requirements
generation and venv install.
This commit is contained in:
tegwick 2026-07-06 18:44:21 +02:00
parent 3a7fe235b1
commit d1a4fcffa9
2 changed files with 7 additions and 31 deletions

View file

@ -65,7 +65,7 @@ jobs:
export PATH="${HOME}/bin:${PATH}"
echo "${REGISTRY_TOKEN}" | docker login "${REGISTRY}" -u "${REGISTRY_USER}" --password-stdin
IMAGE="${REGISTRY}/${IMAGE_NAME}"
docker build --build-arg DEPS_LOCK_ID=4 -f buildctx/Dockerfile.ci \
docker build --build-arg DEPS_LOCK_ID=5 -f buildctx/Dockerfile.ci \
-t "${IMAGE}:latest" -t "${IMAGE}:main-${SHORT}" buildctx
docker push "${IMAGE}:latest"
docker push "${IMAGE}:main-${SHORT}"