添加Gitlab-runner官网仓库: curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash 安装gitlab-runner: yum install gitlab-runner。 注册 gitlab-runner: gitlab-runner register。 [root@VM_222_128_centos ~]# gitlab-runner register Runtime platform