WIP: Accept hostname/port combinations in image names
Specifying a custom hostname and port causes name collisions to occur, preventing clones from occurring due to DNS failures. This happens if the hostname of the registry and the GitLab server are same but on different ports. For example:
-
gitlab.example.com
is the GitLab server -
gitlab.example.com:4567
is the Registry
Previously an image named gitlab.example.com:4567/namespace/project
would be aliased to gitlab.example.com
, since everything after the colon would be stripped.
Closes #1434 (closed)