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

Feature: Enhance the buildx to use cache for multi arch builds. #4940

Closed
2 of 6 tasks
rupinSec opened this issue Apr 15, 2024 · 0 comments · Fixed by #5307
Closed
2 of 6 tasks

Feature: Enhance the buildx to use cache for multi arch builds. #4940

rupinSec opened this issue Apr 15, 2024 · 0 comments · Fixed by #5307
Assignees
Labels
enhancement New feature or request ENT-SPN

Comments

@rupinSec
Copy link
Contributor

rupinSec commented Apr 15, 2024

🔖 Feature description

Buildx is only using a cache of one architecture, due to which our building images are taking so much time to build multi-arch images. This is due to using the --cache-to=local option and pushing the cache to s3 for both AMD and ARM arch in the same location. We need to enhance the cache behaviour for buildx to push both AMD and ARM arch caches.

🎤 Pitch / Usecases

For this problem statement to solve we can use --cache-to=registry or --cache-to=local but with different names for AMD and ARM.

Can follow this GH discussion for more info docker/buildx#1382 and issue: docker/buildx#1044

🔄️ Alternative

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Subtasks

QA Subtasks

  • Bug-1
  • Bug-2
    AB#9340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ENT-SPN
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants