我有一个带有docker
执行程序的Gitlab Runner,并将我的脚本命令之一设置为:
script:
- git remote remove origin
(我正在尝试使用令牌将远程更改为URL,以便可以通过管道构建推送标签)
现在我的Gitlab Runner在运行我的版本时被破坏了
Running with gitlab-runner 11.0.0 (5396d320)
on docker-runner01 ed123asf
Using Docker executor with image private-repo.org/node-app:node8 ...
Pulling docker image private-repo.org/node-app:node8 ...
Using docker image sha256:1e20n89128907j9d817h123091728 for private-repo.org/node-app:node8 ...
Running on runner-ed123asf-project-620-concurrent-0 via docker-runner01...
Fetching changes...
HEAD is now at ash1234 My last commit
fatal: No such remote 'origin'
ERROR: Job failed: exit code 1
有人知道怎么从这里走吗?我尝试重新启动Gitlab运行程序并删除Image,但是似乎问题出在我在任何地方都找不到的Git设置。