How to set up a self-managed GitLab group runner

Install docker

$ sudo apt install docker

Add gitlab runner repository in the package manager’s repositories:

$ curl -L "" | sudo bash

Install gitlab runner:

$ sudo apt install gitlab-runner

Register gitlab runner:

$ sudo gitlab-runner register

This command will prompt for some inputs. Give the values described below to the associated inputs:

> url:
> registration-token: (the token from
> executor: docker
> docker-image: debian:latest
> description: (give any description to your liking)
> tag-list: lino,linorunner

To get the registration-token from, use:

$ ssh
$ sudo cat /var/gitlab_runner_group_registration_token

Leave (just press ENTER/RETRUN on) the other input prompts.

Thank you