- Save the enterprise name and access token into the environment (machine level)
setx /M GH_ENTERPRISE setx /M GH_TOKEN
- CMD: docker-compose build
- CMD: docker-compose up --scale runner=2 -d [runner=n is the number of containers to start]
- CMD: docker-compose stop; docker rm $(docker ps -aq)
- CMD: cleanup-runners.ps1
Troubleshooting
- docker network ls
- docker network prune
Remove Queued GitHub Actions for id in $(gh run list --limit 5000 --jq ".[] | select (.status == "queued" ) | .databaseId" --json databaseId,status); do gh run cancel $id; done