【问题标题】:How to add GitLab Runner如何添加 GitLab Runner
【发布时间】:2021-06-27 09:33:30
【问题描述】:

我在我的服务器上上传 GitLab,现在我想添加 GitLab Runner 但是当我尝试添加时出现错误

ERROR: Registering runner... failed    runner=zcy-FDTo status=couldn't execute POST against https://gitlab.mysite.com/api/v4/runners: Post https://gitlab.mysite.com/api/v4/runners: x509: certificate signed by unknown authority
    PANIC: Failed to register the runner. You may be having network problems.

什么是问题?我试试

sudo gitlab-runner register --url https://gitlab.mysite.com/ --registration-token -AMfssacrqy_UeFM4i9pb--

【问题讨论】:

    标签: linux gitlab gitlab-ci-runner git-log


    【解决方案1】:

    我刚开始学习 Gitlab Runner,偶然发现了您的问题。 根据Gitab Runner troubleshooting guide,我建议检查您的主机网络连接和证书设置,因为您的错误(x509:由未知机构签名的证书)表明。

    【讨论】:

      猜你喜欢
      • 2021-10-23
      • 1970-01-01
      • 1970-01-01
      • 2022-01-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-13
      • 2018-04-27
      相关资源
      最近更新 更多