[![Pipeline]( GitHub Self-Hosted Runner for Docker is self-hosted agent that you can run in a container with Docker.
Supports
amd64
,arm
andarm64
This image will automatically pull and install the latest runner version at startup.
If you need help or found a bug, please feel free to open an issue on the emberstack/docker-github-actions-runner GitHub project.
The runner can be deployed in Docker using either docker run
or docker compose
.
docker run -d -e ACCESS_TOKEN="<access token>" -e ORGANIZATION="<org name>" -e REPO="<optional repo name>" emberstack/github-actions-runner
See Managing your personal access tokens to understand how to get an access token.
You can customize the values of the deployment by using the following environment variables:
Environment Variable | Description | Required |
---|---|---|
ACCESS_TOKEN |
The access token (PAT - Personal Access token) used to register the runner | Required |
ORGANIZATION |
The owner or organization | Required |
REPO |
The repository on which to register the runner | Optional - Registers to the org. if not specified |
LABELS |
Comma separated list of labels to apply to the runner | Optional |
NAME |
Runner name | Optional - Defaults to the hostname if not specified |