"this is insane" no it's actually act-runner-windows-cursed

This commit is contained in:
Soph :3 2025-10-19 17:02:05 +03:00
parent a597f77952
commit bb75839904
2 changed files with 64 additions and 0 deletions

25
README.md Normal file
View file

@ -0,0 +1,25 @@
# act-runner-windows-cursed
this allows you to run a node20(git & choco included) + windows server 2022 + act-runner system with a single command & config files
# mini tutorial
```
mkdir data
# here you have to set config.yml to the one that's in this repo
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_NAME=windows `
-e CONFIG_FILE=config.yml `
--user ContainerAdministrator `
--name act_windows git.sad.ovh/sophie/act-runner-windows-cursed
# it'll register and you gotta restart it (click ctrl+c 3 times)
# 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
```