且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

.gitlab-ci.yml 错误:“apk:找不到命令"

更新时间:2023-11-17 19:48:58

原来我有两个不同的运行器:一个标记为shell executor"(Ubuntu),另一个标记为docker executor".

Well, it turns out I had two different runners: one marked as "shell executor" (Ubuntu) and the other marked as "docker executor".

此错误仅在 Ubuntu 运行程序调度作业时被抛出,因为 Ubuntu 不附带 apk.

This error was being thrown out only when the Ubuntu runner was dispatching the job, since Ubuntu doesn´t come with apk.

我禁用了 Ubuntu 运行器并解决了问题.

I disabled the Ubuntu runner and solved the problem.