ci: add Docker build cache - #1647
Open
aishwaryabandapelly-ai wants to merge 1 commit into
Open
Conversation
|
|
Pull request dashboard statusWaiting on reviewers · refreshed 2026-08-04 14:26 UTC Review the latest changes. Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1647 +/- ##
=======================================
- Coverage 81.5% 81.5% -0.1%
=======================================
Files 130 130
Lines 11616 11616
=======================================
- Hits 9475 9473 -2
- Misses 2141 2143 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GitHub Actions cache support to the Docker build steps in
publish-docker.yml.This updates the existing
docker/build-push-actionsteps to use BuildKit's GitHub Actions cache backend with platform-specific cache scopes.Changes
cache-scopevalue for each Docker build matrix platformcache-from: type=ghato Docker build stepscache-to: type=gha,mode=maxto Docker build stepslinux/amd64andlinux/arm64Why
This addresses #791 by improving Docker build performance through reusable Docker layer caching.
Testing
This is a GitHub Actions workflow-only change. I validated the diff locally with: