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

View File

@ -47,7 +47,7 @@ impl Default for ImageName {
} }
impl 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 const DEFAULT_IMAGE_TAG: &'static str = "latest";
pub fn parse(name: &str) -> Result<Self> { pub fn parse(name: &str) -> Result<Self> {