File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ func fetchDockerHubAllRepo() (map[string]RepoInfoList, error) {
7878 },
7979 ByTagRegex : true ,
8080 }
81+ versions [fmt .Sprintf ("%s-%s" , repo .Name , "latest" )] = RepoInfoList {
82+ Repos : []RepoInfo {
83+ {Name : repo .Name , Versions : []string {"latest" }},
84+ },
85+ ByTagRegex : false ,
86+ }
8187 }
8288 //logger.Warn("sealos container image repo is deprecated, please use sealos cloud repo")
8389 } else if strings .HasPrefix (repo .Name , "laf" ) {
@@ -87,6 +93,12 @@ func fetchDockerHubAllRepo() (map[string]RepoInfoList, error) {
8793 },
8894 ByTagRegex : true ,
8995 }
96+ versions [fmt .Sprintf ("%s-%s" , repo .Name , "latest" )] = RepoInfoList {
97+ Repos : []RepoInfo {
98+ {Name : repo .Name , Versions : []string {"latest" }},
99+ },
100+ ByTagRegex : false ,
101+ }
90102 } else {
91103 newRepos = append (newRepos , RepoInfo {Name : repo .Name })
92104 }
You can’t perform that action at this time.
0 commit comments