fix (?) workflow

This commit is contained in:
Yannick 2025-06-18 13:58:28 +02:00
commit 1c0824ada4

View file

@ -37,6 +37,21 @@ jobs:
echo "update=false" >> "$GITHUB_OUTPUT"
fi
- name: Start dockerd
if: steps.compare.outputs.update == 'true'
run: |
dockerd-entrypoint.sh &
timeout=30
while ! docker info >/dev/null 2>&1; do
if [ $timeout -le 0 ]; then
echo "Docker daemon failed to start."
exit 1
fi
echo "Waiting for Docker daemon..."
sleep 3
timeout=$((timeout - 3))
done
- name: Build and push Docker image
if: steps.compare.outputs.update == 'true'
run: |