Skip to content

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

Merged
AkihiroSuda merged 2 commits intocontainerd:release/1.7from
dmcgowan:backport-1.7-inherit-distribution-sources
Sep 12, 2023
Merged

[release/1.7] push: inherit distribution sources from parent#9084
AkihiroSuda merged 2 commits intocontainerd:release/1.7from
dmcgowan:backport-1.7-inherit-distribution-sources

Conversation

@dmcgowan
Copy link
Copy Markdown
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 <[email protected]>
(cherry picked from commit f8c789f)
Signed-off-by: Derek McGowan <[email protected]>
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 <[email protected]>
(cherry picked from commit 20f7930)
Signed-off-by: Derek McGowan <[email protected]>
@estesp
Copy link
Copy Markdown
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
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.

4 participants