首页 > 解决方案 > 我在 gitlab 中的自动 devops 管道不起作用

问题描述

这是我的测试

我用 autodevops runner 运行这个工作

我在没有 .gitlab-ci.yaml 文件的情况下运行它。但我收到这样的错误。

$ if [[ -z "$CI_COMMIT_TAG" ]]; then # collapsed multi-line command
$ /build/build.sh
Building Heroku-based application using gliderlabs/herokuish docker image...
Attempting to pull a previously built image for use with --cache-from...
invalid reference format
invalid reference format
No previously cached image found. The docker build will proceed without using a cached image
invalid argument "/master:fa1708343b13496937aa567a1aecdc184f43d197" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
Cleaning up file based variables
30:00
ERROR: Job failed: command terminated with exit code 1

标签: kubernetesgitlab-ci-runnerdocker-buildgitlab-autodevops

解决方案


推荐阅读