No description
Find a file
2025-10-19 17:36:37 +03:00
.gitignore first commit 2025-10-19 16:52:53 +03:00
build.ps1 rip out docker login 2025-10-19 16:56:02 +03:00
config.yml does this work 2025-10-19 17:15:17 +03:00
Dockerfile first commit 2025-10-19 16:52:53 +03:00
gitea-runner.ps1 first commit 2025-10-19 16:52:53 +03:00
README.md finish it 2025-10-19 17:36:37 +03:00

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

setup

you need docker, i reccomend installing it via

iwr https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1 -outfile install-docker-ce.ps1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
.\install-docker-ce.ps1

(it'll restart once to install container and hyper-v stuff)

mini tutorial

mkdir runner
cd runner
mkdir data

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=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