Skip to content

Conversation

@malt3
Copy link
Collaborator

@malt3 malt3 commented Sep 29, 2025

We need to record what registry an image comes from to support shallow base images. When no registry is specified, pulling works, but the registry wasn't recorded. This leads to issues at deploy time, where the layers of the base image need to be streamed in if they are missing.
Without a proper source, it's unclear where to stream them from.

This change ensures we always record a registry for any downloaded image, even if the registry attr is left uninitialized.

Fixes #65

We need to record what registry an image comes from to support shallow base images.
When no registry is specified, pulling works, but the registry wasn't recorded.
This leads to issues at deploy time, where the layers of the base image
need to be streamed in if they are missing.
Without a proper source, it's unlcear where to stream them from.

This change ensures we always record a registry for any dowloaded image,
even if the registry attr is left uninitialized.

Fixes #65
@malt3 malt3 marked this pull request as ready for review September 29, 2025 16:27
@malt3 malt3 merged commit 09f151c into main Sep 29, 2025
11 checks passed
@malt3 malt3 deleted the handle_empty_repository branch September 29, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic: no source found for layer with eager strategy

2 participants