From 03bba642ec928fd11283abf2903cf722c85fddab Mon Sep 17 00:00:00 2001 From: yourfriendoss Date: Sun, 19 Oct 2025 17:36:37 +0300 Subject: [PATCH] finish it --- README.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e254c16..35d9118 100644 --- a/README.md +++ b/README.md @@ -15,29 +15,21 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned # mini tutorial ```ps1 - mkdir runner - cd runner - mkdir data -iwr https://git.sad.ovh/sophie/act-runner-windows-cursed/raw/branch/main/config.yml -outfile data\config.yml - +iwr https://files.sad.ovh/public/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 ` - -e GITEA_RUNNER_REGISTRATION_TOKEN=regtoken ` + -e GITEA_RUNNER_REGISTRATION_TOKEN=RegistrationToken ` -e GITEA_RUNNER_NAME=windows ` -e CONFIG_FILE=config.yml ` + -e GITEA_RUNNER_LABELS=windows-node-iron:host ` --user ContainerAdministrator ` + --restart unless-stopped ` + -d ` --name act_windows git.sad.ovh/sophie/act-runner-windows-cursed - -# it'll register and you gotta restart it (click ctrl+c 3 times), and make sure to delete it after you restart it, via `docker rm act_windows` - -# this allows .runner & data & config.yml to be read by the docker container (and also everyone, but whatever, this is a POC atm) - -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 ```