Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkg/imgutil/dockerconfigresolver/registryurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ func (rn *RegistryURL) AllIdentifiers() []string {

// Docker behavior: if the domain was index.docker.io over 443, we are allowed to additionally read the canonical
// docker credentials
if rn.Hostname() == "index.docker.io" && rn.Port() == standardHTTPSPort {
fullList = append(fullList, dockerIndexServer)
if rn.Port() == standardHTTPSPort {
if rn.Hostname() == "index.docker.io" || rn.Hostname() == "registry-1.docker.io" {
fullList = append(fullList, dockerIndexServer)
}
}

// Add legacy variants
Expand Down
Loading