https://github.com/jesec/docker-githubrunner
Minimal Github Actions self-hosted runner with Docker
https://github.com/jesec/docker-githubrunner
Last synced: 9 months ago
JSON representation
Minimal Github Actions self-hosted runner with Docker
- Host: GitHub
- URL: https://github.com/jesec/docker-githubrunner
- Owner: jesec
- Created: 2021-06-23T13:48:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-23T13:48:49.000Z (about 5 years ago)
- Last Synced: 2024-10-04T13:21:59.473Z (almost 2 years ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Minimal Github Actions self-hosted runner with Docker
### Usage
**Compose**
Required arguments: `RUNNER_TOKEN`, `RUNNER_URL`
Optional arguments: `RUNNER_ARCH`, `RUNNER_VERSION`
```sh
# Compose "runner" image
$ docker buildx build --build-arg RUNNER_TOKEN=xxx --build-arg RUNNER_URL=xxx --load --tag runner .
```
**Run**
```sh
$ docker run -d --rm --init -v /var/run/docker.sock:/var/run/docker-host.sock --name runner runner
```
### License
0BSD or Public Domain