Step1、 停止Gitlab-runner
sudo gitlab-runner stop
CODE
Step2: 下载gitlab runner运行文件, 替换原来的老版本:
sudo curl -L --output /usr/local/bin/gitlab-runner "https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64"
CODE
Step3: 增加可执行权限
sudo chmod +x /usr/local/bin/gitlab-runner
CODE
Step4: 启动服务
sudo gitlab-runner start
CODE