How to register gitlab runner for multiple GitLab instances

One GitLab runner can support attaching to multiple GitLab instances. You can add additional instances by running gitlab-runner register.

gitlab-runner register

again, or running

docker-compose exec -T gitlab-runner gitlab-runner register

if you’re using our docker-compose-based GitLab runner setup.

This will append a new section to the config file.