1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-06-27 16:35:58 +00:00

ci: Check if adding to rc is required

This commit is contained in:
Crown0815 2025-05-24 18:43:29 +02:00 committed by Crown0815
parent 9f18d187d2
commit 553c830533

View file

@ -51,6 +51,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
fi