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

This commit is contained in:
alex authored and GitHub committed 2024-05-09 17:30:27 +00:00
1 parent 69c7af5220
commit 75011ef8cb
1 file changed
+1 -1
+1 -1
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> {