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

ci: Run openrc on softlevel

This commit is contained in:
Crown0815 2025-05-24 18:22:18 +02:00 committed by Crown0815
parent 1afca44891
commit a7e0a07f4f

View file

@ -45,6 +45,10 @@ jobs:
run: |
apk --update add --no-cache docker curl
# Create the OpenRC softlevel file to allow services to run in WSL
mkdir -p /run/openrc
touch /run/openrc/softlevel
# Check if Docker is already in the default runlevel before adding it
if ! rc-status default | grep -q "docker"; then
rc-update add docker default || true