https://docs.gitlab.com/ce/ci/quick_start/README.html
https://docs.gitlab.com/ce/ci/yaml/README.html
https://docs.gitlab.com/runner
https://docs.gitlab.com/runner/install/docker.html
docker run -d --name gitlab-runner --restart always \
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
gitlab/gitlab-runner:latest
- 配置文件位置
/srv/gitlab-runner/config/config.toml
- 使用容器中的 runner
docker run --rm -t -i gitlab/gitlab-runner --help
https://docs.gitlab.com/runner/register/index.html
https://docs.gitlab.com/runner/configuration/advanced-configuration.html
https://docs.gitlab.com/ce/ci/docker/using_docker_build.html#use-docker-socket-binding
https://docs.gitlab.com/ce/ci/variables/predefined_variables.html