mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 14:55:44 +00:00
Wait for the Docker daemon to be ready before starting act runner (#620)
Follow #619. Wait for the Docker daemon to be ready before starting act runner. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/620 Co-authored-by: Jason Song <[email protected]> Co-committed-by: Jason Song <[email protected]>
This commit is contained in:
1 parent
9712481bed
commit
0348aaac59
5 files changed
+10
-2
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ! docker info &> /dev/null; then
|
||||
echo "Waiting for Docker daemon to start..."
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user