fix(oci): use mirror.gcr.io as a mirror to docker hub

This commit is contained in:
Alex Zenla 2024-05-08 18:56:54 +00:00
parent 51dff0361d
commit 128ce35dcb
No known key found for this signature in database
GPG Key ID: 067B238899B51269

View File

@ -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<Self> {