fix (?) workflow
This commit is contained in:
parent
2ff387a0e7
commit
1c0824ada4
1 changed files with 15 additions and 0 deletions
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue