mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-06-27 16:35:58 +00:00
ci: Shorten starting docker
This commit is contained in:
parent
553c830533
commit
bc95a6563a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/windows-tests.yml
vendored
4
.github/workflows/windows-tests.yml
vendored
|
@ -52,7 +52,7 @@ jobs:
|
|||
# Check if Docker is already in the default runlevel before adding it
|
||||
if ! rc-status default | grep -q "docker"; then
|
||||
echo "Adding Docker service..."
|
||||
rc-update add docker default || true
|
||||
rc-update add docker default 2>&1 || true
|
||||
fi
|
||||
|
||||
# Check Docker service status
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
# Start Docker only if it's not already running or starting
|
||||
if echo "$docker_status" | grep -q "not running"; then
|
||||
echo "Starting Docker service..."
|
||||
rc-service docker start || true
|
||||
rc-service docker start 2>&1 || true
|
||||
else
|
||||
echo "Docker service status: $docker_status"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue