in tool/TeamCity.Docker/DockerConverter.cs [28:42]
public string TryConvertRepoTagToRepositoryName(string repoTag)
{
if (repoTag == null)
{
throw new ArgumentNullException(nameof(repoTag));
}
var ind = repoTag.IndexOf(":", StringComparison.Ordinal);
if (ind > 2)
{
return repoTag.Substring(0, ind);
}
return null;
}