Allow Double Hyphen in Docker Image Name
Problem to solve
This may be a bug report, may be a feature request. Anyways, Gitlab does not allow Docker images with double hyphen to be pushed to Docker registry.
For example, Gitlab is okay with
registry.gitlab.com/username/reponame/image-name
But it rejects:
registry.gitlab.com/username/reponame/image--name
Double hyphens are valid Docker name characters and work with Docker Official Registry, Google Docker Registry, AWS and literally all registries except Gitlab.
Target audience
Double hyphens are being used commonly as an internal separator in many systems, e.g., CapRover.com uses double hyphens.
Edited by Kasra Bigdeli