Executing "step_script" stage of the job script $ echo $CI_REGISTRY git.mylab.th-luebeck.de:4181 $ kubectl delete secret gitlab-registry-credentials || true The connection to the server localhost:8080 was refused - did you specify the right host or port? $ kubectl create secret docker-registry gitlab-registry-credentials --docker-server=$CI_REGISTRY --docker-username=image-registry --docker-password=$CI_REGISTRY_TOKEN The connection to the server localhost:8080 was refused - did you specify the right host or port? Cleaning up file based variables ERROR: Job failed: exit code 1