Skip to content

diff: reuse origin manifest and skip push/diff on identical digests - #2228

Open
bobcallaway wants to merge 1 commit into
GoogleContainerTools:mainfrom
bobcallaway:diff-optimize
Open

bobcallaway wants to merge 1 commit into
GoogleContainerTools:mainfrom
bobcallaway:diff-optimize

Conversation

@bobcallaway

Copy link
Copy Markdown
Collaborator

Fetch the origin manifest once to a temporary file rather than making multiple redundant network requests.

If the origin manifest digest matches the locally built single-image digest from index.json, skip pushing to the staging registry and running diffoci, reporting that the images are identical immediately.

Fetch the origin manifest once to a temporary file rather than making
multiple redundant network requests.

If the origin manifest digest matches the locally built single-image
digest from index.json, skip pushing to the staging registry and running
diffoci, reporting that the images are identical immediately.

Signed-off-by: Bob Callaway <bcallaway@google.com>
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