(Experimental) Docker images for GitHub Actions self-hosted runner.
⚠️ Warning: Using self-hosted runners with public repositories is not recommended. Forks of your public repository can potentially run dangerous code on your self-hosted runner by creating a pull request that executes the code in a workflow. For more information, see About self-hosted runners.
Name | Description |
---|---|
REPO_URL |
Required. The URL of the repository. |
GITHUB_TOKEN |
Required. The runner registration token. |
RUNNER_NAME |
The name of the runner. Default: $(hostname) . |
WORK_FOLDER |
The name of the work folder. Default: _work . |
$ docker run --name actions-runner \
-e REPO_URL=https://github.com/octocat/hello-world \
-e GITHUB_TOKEN=AIHLTGQK4JJJ7G4RRQ5GPVJJGJ5QL \
joakimhellum/actions-runner:ubuntu-18.04
$ docker run --name actions-runner \
-e REPO_URL=https://github.com/octocat/hello-world \
-e GITHUB_TOKEN=AIHLTGQK4JJJ7G4RRQ5GPVJJGJ5QL \
joakimhellum/actions-runner:ubuntu-18.04 --once
$ docker stop actions-runner