README.md 1.08 KB
Newer Older
Kevin Daudt's avatar
Kevin Daudt committed
1 2 3 4
# gitlab-runner docker image

This will create a docker image for running a gitlab runner on Alpine Linux on
all the architectures that Alpine Linux supports.
5

6 7 8 9 10 11 12 13 14 15 16 17 18 19
## Profiles

At startup, it will look for profiles in /data/profiles. These are files with
variables that define how that specific runner is registered. Look at the help
output of `gitlab-runner register --help` to see what variables are supported.

Note that variables are automatically exported (so no need to use `export`).

The following variables are required:

* `REGISTRATION_TOKEN` - The gitlab to use to register the runner. This can be
  found in the project and group CI/CD settings, or in the admin section for
  shared runners.
* `RUNNER_NAME` - The name of the runner in order to identify it.
20

21
The following variables have a default set, but can be overridden:
22

23 24 25 26 27
| Variable        | Default Value                  |
|-----------------|--------------------------------|
| `CI_SERVER_URL` | https://gitlab.alpinelinux.org |
| `DOCKER_IMAGE`  | `alpine:latest`                |
| `RUNNER_LIMIT`  | 1                              |
28