Skip to content
README.md 1.02 KiB
Newer Older
nimrod's avatar
nimrod committed
# runner

> GitLab CI runner.

## Description

A customized image for running the GitLab CI runner Docker container, spawning
other Docker containers for jobs. This image registers with the server on
startup and has the `docker` package already installed (it needs to have the
dockerd socket mounted inside the container).

nimrod's avatar
nimrod committed
## Usage

nimrod's avatar
nimrod committed
First, get the registration token from https://git.shore.co.il/admin/runners. To
build and run on `ns4.shore.co.il`, just run:
nimrod's avatar
nimrod committed
```
nimrod's avatar
nimrod committed
DOCKER_HOST=ssh://ns4.shore.co.il docker-compose build && DOCKER_HOST=ssh://ns4.shore.co.il REGISTRATION_TOKEN='INSERT_TOKEN' RUNNER_NAME=ns4.shore.co.il REGISTER_RUN_UNTAGGED="true" docker-compose up -d
nimrod's avatar
nimrod committed
```

nimrod's avatar
nimrod committed
## License

This software is licensed under the MIT license (see `LICENSE.txt`).

## Author Information

Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://www.shore.co.il/git/>.