Skip to content

Make container registry URL lowercase for valid format

Eric Eastwood requested to merge make-ci-registry-image-lowercase into develop

Make container registry URL lowercase for valid format

Job where the error occurs with mixed case URL: https://gitlab.com/gitterHQ/webapp/-/jobs/853298599

$ docker build -t $GITTER_CI_REGISTRY_IMAGE/deploy-build-image:latest scripts/docker/deploy-build-image/
invalid argument "registry.gitlab.com/gitterHQ/webapp/deploy-build-image:latest" for "-t, --tag" flag: invalid reference format: repository name must be lowercase

Part of #2606 (closed)

Correct URL from https://gitlab.com/gitterHQ/webapp/container_registry page which also shows a lowercase URL

docker build -t registry.gitlab.com/gitterhq/webapp .

Merge request reports

Loading