This project has for purpose to let you run a self-hosted github actions runner inside a container.
It only requires 2 informations:
- The repository name it has to listen for action
- An API github token to generate the runner token (usefull only on config)
Here is the .env file structure
REPO=<github-user/repo-name>
TOKEN=<github-api-token>
You can also directly create an image with the provided Dockerfile
To do it, you can simply launch this command:
docker build -t gh-actions .To create a new container with the good REPO name and with a token (previously generated).
You can use this command:
docker run [-d] -e REPO='<github-user/repo-name>' -e TOKEN='<token>' --name container-name gh-actionsSee the following link