https://github.com/lupcode/docker-github-runner
GitHub Action Runner image with option to spin up other containers
https://github.com/lupcode/docker-github-runner
Last synced: 3 months ago
JSON representation
GitHub Action Runner image with option to spin up other containers
- Host: GitHub
- URL: https://github.com/lupcode/docker-github-runner
- Owner: LupCode
- License: mit
- Created: 2023-11-03T16:14:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-03T16:17:57.000Z (over 1 year ago)
- Last Synced: 2025-01-14T21:48:12.920Z (4 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
1. `docker build -t github-runner .`
2. `docker run -it --privileged --restart=always -v /var/run/docker.sock:/var/run/docker.sock --name github-runner -e url= -e token= -e name= (-e group=) github-runner`Environment variables that can be set:
- url= URL of repository or organization the runner should be linked to
- token= Token used for registering runner
- name= Name of the runner
- group= Group the runner should be added toUse `docker attach ` and then `STRG + C` to proparly shutdown container!