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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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