Another self-hosted Github actions runner.
docker run aweris/gar:2.263.0 --github-token <pat> --url https://github.com/<your-repo-goes-here>
Example deployment with helm chart aweris/gar. Please check chart repo for configuration options
helm repo add aweris https://aweris.github.io/charts/
helm repo update
Create secret using personal access token:
kubectl create secret generic github-auth --from-literal=pat=<PAT>
Create secret using Github application credentials:
kubectl create secret generic github-auth --from-literal=appId=<Github Application ID> \
--from-literal=installationId=<Github Application Installation ID> \
--from-file=privateKey=<Path for the private key file>
values.yamlrunner:
url: https://github.com/<your-repo-goes-here>
labels:
- foo
- bar
ghAuth:
existingSecret: github-auth
helm upgrade --install --values values.yaml runner aweris/gar
Usage of gar:
--github-token string Personal access token for authenticate to GitHub
-l, --labels stringArray Custom labels for the runner
--name string Name of the runner (default "<hostname>")
--once Runner executes only single job
--replace Replace any existing runner with the same name (default true)
--runner-path string Path of the local runner installation (default "/runner")
--url string Repository or Organization url for runner registration
--version Prints version info
--work-dir string Working directory for the runner (default "/_work")
Environment variables sets property value if it's not set from arguments. CLI arguments has higher priority except RUNNER_LABELS.
| Name | Property | Description |
|---|---|---|
| GITHUB_TOKEN | --github-token | |
| REG_URL | --url | |
| RUNNER_PATH | --runner-path | |
| RUNNER_WORKDIR | --work-dir | |
| RUNNER_NAME | --name | |
| RUNNER_LABELS | --labels | Comma separated list. Merge values with property |
Content type
Image
Digest
Size
450.3 MB
Last updated
over 4 years ago
docker pull aweris/gar:2.292.0