fix(ci-runner): wait for docker daemon before building test image
CI / lint-and-format (push) Successful in 38s
CI / changeset-check (push) Successful in 27s
CI / unit-tests (push) Successful in 36s
CI / build-test-image (push) Failing after 1m7s
CI / component-tests (push) Skipped

docker build was failing intermittently with 'cannot connect to the
docker daemon' because the job started before the docker-dind sidecar
finished starting up. Poll docker info until the daemon responds
before attempting login/build/push.
This commit is contained in:
2026-08-03 19:54:22 +02:00
parent 90f12c35b7
commit 35a8ac1992
+9
View File
@@ -81,6 +81,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Wait for docker daemon
run: |
for i in $(seq 1 30); do
docker info > /dev/null 2>&1 && break
echo "waiting for docker daemon... ($i/30)"
sleep 2
done
docker info
- name: Build and push test image
run: |
docker login git.byting-pandas.ninja -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }}