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:
parent
1afca44891
commit
a7e0a07f4f
1 changed files with 4 additions and 0 deletions
4
.github/workflows/windows-tests.yml
vendored
4
.github/workflows/windows-tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue