当我尝试在部署控制台中创建ssh运行器时,出现以下错误:
Running with gitlab-ci-multi-runner 1.7.1 (f896af7)
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
ERROR: Build failed (system failure): open ~/.ssh/id_rsa.pub: no such file or directory
Run Code Online (Sandbox Code Playgroud)
在我的服务器上,我创建了ssh密钥,并且此密钥位于目录〜/ .ssh / id_rsa.pub中。我的.gitlab-ci.yml文件:
stages: …Run Code Online (Sandbox Code Playgroud)