pub fn resolve_native_image_uri(
proxy_image_uri: &str,
native_registry_host: &str,
) -> Option<String>Expand description
Resolve a proxy image URI to a native registry URI.
Used by Lambda (ECR) and Cloud Run (GAR) which require native registries. Strips the proxy host from the URI and prepends the native registry host, preserving the full repo path and tag/digest.
Input: manager.alien.dev/alien-e2e:fn-abc123, 123456.dkr.ecr.us-east-1.amazonaws.com
Output: 123456.dkr.ecr.us-east-1.amazonaws.com/alien-e2e:fn-abc123
Input: manager.alien.dev/project/repo/default:fn-abc123, us-central1-docker.pkg.dev
Output: us-central1-docker.pkg.dev/project/repo/default:fn-abc123