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

This commit is contained in:
Alex Zenla
2024-05-09 10:30:27 -07:00
committed by GitHub
parent 69c7af5220
commit 75011ef8cb

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