Skip to content

Commit

Permalink
Merge pull request #81 from radu-matei/fix/update-dockerhub-endpoint
Browse files Browse the repository at this point in the history
Update default `docker.io` registry
  • Loading branch information
flavio authored May 4, 2023
2 parents e10403b + 3dda1b1 commit 6498685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl Reference {
pub fn resolve_registry(&self) -> &str {
let registry = self.registry();
match registry {
"docker.io" => "registry-1.docker.io",
"docker.io" => "index.docker.io",
_ => registry,
}
}
Expand Down

0 comments on commit 6498685

Please sign in to comment.