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

refactor: deduplicate images before pushing and signing #1738

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

thesayyn
Copy link
Collaborator

Following changes has been made to speed up pushing and signing of images.

  • Push and sign only the first occurrence of an image,
  • Use crane copy to duplicate images at remote registry for the same images but different tags,

As a result;

  • Drops the number of pushes & sign invocation 856 to 236
  • And introduces a 600 new really efficient copy at the remote tag operation.

This should make distroless distribution pipeline significantly faster and more efficient.

@thesayyn thesayyn requested a review from loosebazooka January 22, 2025 21:20
Copy link
Contributor

github-actions bot commented Jan 22, 2025

🌳 🔄 Image Check
This pull request doesn't make any changes to the images. 👍
You can check the details in the report here

@loosebazooka
Copy link
Member

loosebazooka commented Feb 5, 2025

shoot @thesayyn can you rebase this, I'll merge it I rebased it

@loosebazooka loosebazooka merged commit 945a0c3 into main Feb 7, 2025
9 checks passed
@loosebazooka loosebazooka deleted the push_dedup branch February 7, 2025 20:59
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.

2 participants