mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 06:45:32 +00:00
Resolves GitHub issue #28 by implementing proper layered image building that preserves base image properties and handles cross-registry scenarios. Changes: - Enhanced push_layered_image() to detect cross-registry pushes and copy base layers - Implemented automatic blob copying from source registry to destination registry - Always use layered approach instead of falling back to single-layer builds - Added verification tests to ensure base image environment and files are preserved - Consolidated unit tests into module files for better organization This fixes "MANIFEST_BLOB_UNKNOWN" errors when pushing layered images that reference base image blobs from different registries (e.g., cgr.dev → ttl.sh). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||