does this work

This commit is contained in:
Soph :3 2025-10-19 17:15:17 +03:00
parent 86f93e5dce
commit 786b56f1a2
2 changed files with 10 additions and 4 deletions

View file

@ -15,9 +15,16 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
# mini tutorial
```ps1
mkdir runner
cd runner
mkdir data
# here you have to set config.yml to the one that's in this repo
iwr https://git.sad.ovh/sophie/act-runner-windows-cursed/raw/branch/main/config.yml -outfile data\config.yml
cmd /C "icacls $((Get-Item .).FullName)\data /grant Everyone:(F) /T"
docker run -v ./data:C:\data -v '\\.\pipe\docker_engine:\\.\pipe\docker_engine' `
-e GITEA_INSTANCE_URL=https://git.sad.ovh `
@ -31,7 +38,6 @@ docker run -v ./data:C:\data -v '\\.\pipe\docker_engine:\\.\pipe\docker_engine'
# this allows .runner & data & config.yml to be read by the docker container (and also everyone, but whatever, this is a POC atm)
icacls C:\Users\Docker\forgejo\data /grant Everyone:(F) /T
cmd /C "icacls C:\Users\Docker\forgejo\data /grant Everyone:(F) /T"
# also, after this, modify .runner to have `windows-node-iron:host` in the labels: [] part
```