1
0

Update doc

This commit is contained in:
nicolas.dorier
2021-05-26 13:19:00 +09:00
parent 4ff671f50f
commit ece80920ee
4 changed files with 51 additions and 19 deletions

View File

@@ -38,6 +38,10 @@ namespace DockerFileBuildHelper
img.User = match.Groups[1].Length == 0 ? string.Empty : match.Groups[1].Value.Substring(0, match.Groups[1].Value.Length - 1);
img.Name = match.Groups[2].Value;
img.Tag = match.Groups[3].Value;
if (img.Tag.Contains('@'))
{
img.Tag = img.Tag.Split('@')[0];
}
if (img.Tag == string.Empty)
img.Tag = "latest";
return img;