1. 注册 runner sudo gitlab-runner register 2. 填写 gitlab-ci 地址,这边以官方的为主 Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com ) https://gitlab.com 3. 输入获取的 token ,下面会介绍如何获取 Please enter the gitlab-ci token for this runner xxx 4. 输入描述,后面可以修改 Please enter the gitlab-ci description for this runner mac description 5. 输入机器的 tag,后面可以修改 Please enter the gitlab-ci tags for this runner (comma separated): mymac 6. 输入执行类型,这边填入 shell Please enter the executor: ssh, docker+machine, docker-ssh+machine, kubernetes, docker, parallels, virtualbox, docker-ssh, shell: docker shell