Skip to content

Commit 5bacbdc

Browse files
committed
using tmp support regex
Signed-off-by: cuisongliu <[email protected]>
1 parent d8695e8 commit 5bacbdc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dockerhub/repos.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ func fetchDockerHubAllRepo() (map[string]RepoInfoList, error) {
8080
}
8181
}
8282
//logger.Warn("sealos container image repo is deprecated, please use sealos cloud repo")
83+
} else if strings.HasPrefix(repo.Name, "laf") {
84+
versions[repo.Name] = RepoInfoList{
85+
Repos: []RepoInfo{
86+
{Name: repo.Name, Filter: "^v.*"},
87+
},
88+
ByTagRegex: true,
89+
}
8390
} else {
8491
newRepos = append(newRepos, RepoInfo{Name: repo.Name})
8592
}

0 commit comments

Comments
 (0)