Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid pushing base layers #1

Closed
wants to merge 1 commit into from
Closed

Conversation

aaronlehmann
Copy link
Owner

When we detect a layer we pushed before, stub in an empty layer, with an annotation containing the uncompressed layer DiffID it's replacing. On pull, swap in the uncompressed layer digest so the actual layer in the layer store will be used without trying to pull/use the empty layer.

@aaronlehmann aaronlehmann force-pushed the zstd-and-skip-base-2 branch 2 times, most recently from 7618f23 to d7563de Compare May 15, 2024 16:17
When we detect a layer we pushed before, stub in an empty layer, with an
annotation containing the uncompressed layer DiffID it's replacing. On
pull, swap in the uncompressed layer digest so the actual layer in the
layer store will be used without trying to pull/use the empty layer.
@aaronlehmann aaronlehmann force-pushed the zstd-and-skip-base-2 branch from d7563de to ae10a00 Compare May 15, 2024 17:36
@aaronlehmann
Copy link
Owner Author

Replacing with #2

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.

1 participant