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

[release/1.7] push: inherit distribution sources from parent #9084

Conversation

dmcgowan
Copy link
Member

Backport #9029

When a blob does not exist locally, rather than erroring on info
lookup, inherit the parent distribution sources. Push is able
to succeed even if the blob does not exist locally when a cross
repository mount is done. This is a common operation pushing a
multi-platform image to the same registry but different namespace.

ctr change not included because it is a behavior change

Signed-off-by: Derek McGowan <derek@mcg.dev>
(cherry picked from commit f8c789f)
Signed-off-by: Derek McGowan <derek@mcg.dev>
When a blob does not exist locally, rather than erroring on info
lookup, inherit the parent distribution sources. Push is able
to succeed even if the blob does not exist locally when a cross
repository mount is done. This is a common operation pushing a
multi-platform image to the same registry but different namespace.

Signed-off-by: Derek McGowan <derek@mcg.dev>
(cherry picked from commit 20f7930)
Signed-off-by: Derek McGowan <derek@mcg.dev>
@estesp
Copy link
Member

estesp commented Sep 12, 2023

do you want to add this to 1.7.6?

@AkihiroSuda AkihiroSuda merged commit 78874ec into containerd:release/1.7 Sep 12, 2023
49 checks passed
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.

None yet

4 participants