马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
然后执行注册报错
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... |