Container Location regex: need to support additional segments or domains. #128
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
needs-triage
Needs looking at to decide what to do
Description
Scope
Ability to configure, in Stacks, images from the private artifactory which could have complex data organization structure.
Details
Existing Container Location regex works fine with regular
domain/subdomain:version
formats of docker image location.However it does not work for data organization in our artifactory.
Example of the url that does work:
dc-if/flowforge/node-red:1.13.3
Examples of the location string which does not work:
{COMPANY}.jfrog.io/tenant-dev/dc-if/flowforge/node-red:1.13.3
{tenant-dev/dc-if/flowforge/node-red:1.13.3
Suggestion
@hardillb could you have a look on regex like this to use?
'^([a-z0-9][a-z0-9\\-]*(\\.[a-z0-9\\-]+)*\\/)+[a-z0-9\\-]+(?:\\/[a-z0-9\\-]+)*(?::[0-9]+\\.[0-9]+\\.[0-9]+)?$'
The text was updated successfully, but these errors were encountered: