Type something to search...

Easy way to set up GitHub Runners

Self-hosted GitHub Runners

https://docs.github.com/en/actions/hosting-your-own-runners

docker-compose.yaml
1
services:
2
runner:
3
image: myoung34/github-runner:latest
4
restart: unless-stopped
5
environment:
6
RUNNER_NAME: ${RUNNER_NAME:-yourname}
7
LABELS: "label1,label2,linux,x64"
8
RUNNER_SCOPE: "repo"
9
REPO_URL: ${REPO_URL:-https://github.com/user/repo}
10
RUNNER_TOKEN: ${RUNNER_TOKEN:-<SECRET>}
11
CONFIGURED_ACTIONS_RUNNER_FILES_DIR: "/data/"
12
volumes:
13
- ./host/path/to/dir:/data

https://github.com/myoung34/docker-github-actions-runner

https://hub.docker.com/r/myoung34/github-runner

no “docker in docker”

https://github.com/myoung34/docker-github-actions-runner#docker-artifacts

configuration https://github.com/myoung34/docker-github-actions-runner/wiki/Usage#bash-auto-token

Related Posts