Skip to content

GitHub Action Runner image with option to spin up other containers

License

Notifications You must be signed in to change notification settings

LupCode/docker-github-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  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=<url> -e token=<token> -e name=<name> (-e group=<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 to

Use docker attach <container> and then STRG + C to proparly shutdown container!

About

GitHub Action Runner image with option to spin up other containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published