gitlab k8s auto devops, invalid reference format

3/12/2020

need help with the default gitlab auto devops process. i am using gitlab 12.8.5 by docker, and minikube v1.8.1. when i follow the quick start guide i stuck in the auto build process, bellow is the screenshot: invalid reference format

 Checking out 901de3a8 as master...
 Skipping Git submodules setup
$ if [[ -z "$CI_COMMIT_TAG" ]]; then # collapsed multi-line command
00:03
 $ /build/build.sh
 Building Heroku-based application using gliderlabs/herokuish docker image...
 invalid reference format
 invalid reference format
 invalid argument "/master:901de3a8bd5573f4a049b1457d28bc1592ba6bf9" for "-t, --tag" flag: invalid reference format
 See 'docker build --help'.
 ERROR: Job failed: command terminated with exit code 1

also i have found some similar questions here :

however, i still can't find the solution. please help,thinks.

Billy

-- Billy Shen
gitlab
kubernetes

1 Answer

3/13/2020

in case someone have the same issue. i fixed the error by enable the Container Registry, thanks

-- Billy Shen
Source: StackOverflow