Skip to content

Commit d9666d8

Browse files
Simon Emmsroboquat
Simon Emms
authored andcommitted
[installer]: remove invalid repo from mirror list
1 parent cf297d4 commit d9666d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install/installer/cmd/mirror_list.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ func generateMirrorList(cfgVersion string, cfg *configv1.Config) ([]mirrorListRe
113113

114114
images := make([]mirrorListRepo, 0)
115115
for _, img := range rawImages {
116+
// Ignore if the image equals the container registry
117+
if img == common.GitpodContainerRegistry {
118+
continue
119+
}
116120
// Dedupe
117121
if _, ok := allImages[img]; ok {
118122
continue

0 commit comments

Comments
 (0)