krata: fix support for registries with anonymous authentication

This commit is contained in:
Alex Zenla
2024-03-22 19:57:56 +00:00
parent 1a6287893e
commit 6d6610ca2f
2 changed files with 75 additions and 4 deletions

View File

@ -2,7 +2,7 @@ use anyhow::Result;
use std::fmt;
use url::Url;
const DOCKER_HUB_MIRROR: &str = "mirror.gcr.io";
const DOCKER_HUB_MIRROR: &str = "registry.docker.io";
const DEFAULT_IMAGE_TAG: &str = "latest";
#[derive(Debug, Clone, PartialEq, Eq, Hash)]