From 128ce35dcbcf698a0a087de2501380dedc491fb8 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Wed, 8 May 2024 18:56:54 +0000 Subject: [PATCH] fix(oci): use mirror.gcr.io as a mirror to docker hub --- crates/oci/src/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oci/src/name.rs b/crates/oci/src/name.rs index 4908b59..b1438f0 100644 --- a/crates/oci/src/name.rs +++ b/crates/oci/src/name.rs @@ -47,7 +47,7 @@ impl Default for ImageName { } impl ImageName { - pub const DOCKER_HUB_MIRROR: &'static str = "registry-1.docker.io"; + pub const DOCKER_HUB_MIRROR: &'static str = "mirror.gcr.io"; pub const DEFAULT_IMAGE_TAG: &'static str = "latest"; pub fn parse(name: &str) -> Result {