Skip to content

YoanSimco/gitlab-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

gitlab-runner

πŸš€ Getting started

  1. To deploy local GitLab runner, first run this register command:
docker container run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /path/to/gitlab-runner/etc:/etc/gitlab-runner \
-v /path/to/gitlab-runner/home:/home/gitlab-runner \
gitlab/gitlab-runner:latest register
  1. You can then customize the configuration in /path/to/gitlab-runner/etc/config.toml (see https://docs.gitlab.com/runner/configuration/advanced-configuration.html).

  2. Then, run the following command to start the runner with the configuration setted in previous steps:

docker container run -d \
--name gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /path/to/gitlab-runner/etc:/etc/gitlab-runner \
-v /path/to/gitlab-runner/home:/home/gitlab-runner \
gitlab/gitlab-runner:latest

See https://docs.gitlab.com/runner/install/docker.html#install-the-docker-image-and-start-the-container for more details.

About

Deploy GitLab runners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published