我试图在GitLab-CI中的私有注册表中标记自动构建的Docker镜像,但'release‘作业失败,并显示:Error response from daemon: No such image: dev.skibapro.de:5050/dransfeld/dockerci-test:v0.4
这是我的.gitlab-ci.yml,构建和测试作业运行没有错误,并且在管道运行后,docerci- test :v0.4出现在我的注册表中。
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
IMAGE_TAG: $CI_
我有一个很长的gitlab CI,是一种单声道存储库的结构。如下所示: Project A
--- .gitlab-ci.yaml (contains thousands of jobs across 3 stages(plan, test and apply) and also includes gitlab-ci folder)
--- gitlab-ci/my-ci.yaml (folder than contains specific ci files, this has 2 stages, plan and apply for my-new-code)
-
即使我的所有步骤都成功通过,Gitlab CI仍然显示--“清理基于文件的变量00:01错误:作业失败:退出代码1”
却在最后一次失败了。同样有趣的是,这只发生在我的硕士分支。它成功地在其他分支上运行。有没有人面对这个问题,找到解决办法?
- >
for dir in $(git log -m -1 --name-only -r --pretty="format:" "$CI_COMMIT_SHA"); do
if [[ -f "$dir" ]]; then
SERVICE=$(echo "