This Docker image runs a self-hosted GitHub Actions Runner.
Note: this image starts up ephemeral runners so they get deregistered after each job finishes.
- Clone this repository
- Copy
.env.exampleto.env - Fill up
ORGANIZATIONwith your organization name - Get a GitHub access token
- Create a secret
access-token(or whatever) with your newly created token - Point
ACCESS_TOKEN_FILEto the secret path/run/secrets/access-token - Run
If you wish to run it locally, use docker compose and create a file named access-token in the root of this project with the token in it.