极狐GitLab 正式推出面向 GitLab 老旧版本(12.x、13.x、14.x、15.x 等)免费用户的专业升级服务,点击查看详情

返回列表 发布新帖

gitlab-runner register 注册的时候报错,能否帮忙看下,非常感谢!!!

283 3
发表于 2024-12-24 08:04:14 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×

然后执行注册报错

gitlab-runner register --url https://12.16.1.18/ --registration-token GR134894MGmr7XRywniQJTxx5

status=couldn't execute POST against https://12.16.1.18/api/v4/runners: Post "https://12.16.1.18/api/v4/runners": tls: failed to verify certificate: x509: certificate signed by unknown authority PANIC: Failed to register the runner.

[prodeMacBook-Pro.local]: Enter tags for the runner (comma-separated):

Enter optional maintenance note for the runner:

WARNING: Support for registration tokens and runner parameters in the 'register' command has been deprecated in GitLab Runner 15.6 and will be replaced with support for authentication tokens. For more information, see https://docs.gitlab.com/ee/ci/runners/new_creation_workflow ERROR: Registering runner... failed runner=GR134894Gmr7Mvm status=couldn't execute POST against https://12.16.1.18/api/v4/runners: Post "https://12.16.1.18/api/v4/runners": tls: failed to verify certificate: x509: certificate signed by unknown authority PANIC: Failed to register the runner. pro@prodeMacBook-Pro ~ % gitlab-runner verify Runtime platform arch=amd64 os=darwin pid=69528 revision=3153ccc6 version=17.7.0 WARNING: Running in user-mode. WARNING: Use sudo for system-mode: WARNING: $ sudo gitlab-runner...

回复

使用道具 举报

评论3

ffliLv.7 发表于 2024-12-24 09:41:19 | 显示全部楼层
回复

使用道具 举报

SUN楼主Lv.1 发表于 2024-12-24 14:29:48 | 显示全部楼层
非常感谢ffli!!!按照步骤解决了!!! 再次感谢哈
回复

使用道具 举报

ffliLv.7 发表于 2024-12-24 15:41:50 | 显示全部楼层
SUN 发表于 2024-12-24 14:29
非常感谢ffli!!!按照步骤解决了!!! 再次感谢哈

客气了
回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2025 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表