【ubuntu 18.04】处理Your runner is outdated, please upgrade your runner报错

1. 最开始安装方法

sudo apt install gitlab-runner

安装的版本是10版本

 

2. 升级安装最新稳定版本

# For Debian/Ubuntu/Mint
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash

# For RHEL/CentOS/Fedora
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash

3. 执行升级

sudo apt update
sudo apt upgrade  
# 或
sudo apt install gitlab-runner

4. 查看版本

master@master:~/spring-boot-demo$ gitlab-runner -v
Version:      14.6.0
Git revision: 5316d4ac
Git branch:   14-6-stable
GO version:   go1.13.8
Built:        2021-12-17T17:36:04+0000
OS/Arch:      linux/amd64

 

posted @ 2021-12-21 17:23  代码诠释的世界  阅读(418)  评论(0编辑  收藏  举报