diff --git a/App/Utility/ValidationUtility.cs b/App/Utility/ValidationUtility.cs index ae31a0a..1b5e7e3 100644 --- a/App/Utility/ValidationUtility.cs +++ b/App/Utility/ValidationUtility.cs @@ -89,7 +89,7 @@ public static IRuleBuilderOptions DockerReferenceValid( this IRuleBuilder ruleBuilder) { return ruleBuilder - .Matches(@"^((\w(-?\w+)*)(\.\w(-?\w+)*)*(:\d+)?/)?\w(-?\w+)*(/\w(-?\w+)*)*$") + .Matches(@"^(?:(?=[^:\/]{1,253})(?!-)[a-zA-Z0-9-]{1,63}(?