mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
fix(image): allow dot in image names [EE-4595] (#8619)
This commit is contained in:
parent
7ed8e9e167
commit
b5771df6a8
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ function BuildImageController($scope, $async, $window, BuildService, Notificatio
|
|||
// Validation
|
||||
const parts = item.Name.split('/');
|
||||
const repository = parts[parts.length - 1];
|
||||
const repositoryRegExp = RegExp('^[a-z0-9-_]{2,255}(:[A-Za-z0-9-_.]{1,128})?$');
|
||||
const repositoryRegExp = RegExp('^[a-z0-9-_.]{2,255}(:[A-Za-z0-9-_.]{1,128})?$');
|
||||
item.Valid = repositoryRegExp.test(repository);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue