Remove dups

This commit is contained in:
nicolas.dorier
2019-10-21 13:45:52 +09:00
parent 4be6537c69
commit 400471537e
2 changed files with 11 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ namespace DockerFileBuildHelper
tb.Append(readme.Substring(0, start));
tb.AppendLine("| Image | Version | x64 | arm32v7 | arm64v8 | links |");
tb.AppendLine("|---|---|:-:|:-:|:-:|:-:|");
dockerInfos = dockerInfos.GroupBy(d => d.Image.Source).Select(c => c.First()).ToList();
dockerInfos = dockerInfos.GroupBy(d => d.Image.ToString(false)).Select(c => c.First()).ToList();
RenderTable(tb, dockerInfos.Where(d => d.SupportedByUs));
RenderTable(tb, dockerInfos.Where(d => !d.SupportedByUs));
tb.Append(readme.Substring(end));