Add a mac as a GitLab runner

Overview

A guide for registering a specific runner for gitlab.com

  1. Install GitLab Runner on macOS

  2. Register GitLab Runner

Get Started

1. Install GitLab Runner on macOS

brew install gitlab-runner

2. Register GitLab Runner

1. Register GitLab Runner as a service

brew services start gitlab-runner

2. Go to gitlab.com -> project settings -> CI/CD and expand the Runners section

3. Register the runner

gitlab-runner register

You will see the runner is registered successfully in the Runners section on gitlab.com:

References

Last updated