Skip to content

ci: make BuildKit registry cache optional in component-build#278

Merged
BrianEstrada merged 1 commit intomainfrom
feat/buildkit-registry-cache
May 1, 2026
Merged

ci: make BuildKit registry cache optional in component-build#278
BrianEstrada merged 1 commit intomainfrom
feat/buildkit-registry-cache

Conversation

@BrianEstrada
Copy link
Copy Markdown
Contributor

Summary

  • Adds an enable-buildkit-cache boolean input (default true) to component-build.yml so callers can opt out of the registry-backed BuildKit cache.
  • When false, both cache-from and cache-to resolve to empty strings and docker/build-push-action skips the registry cache entirely. Default behavior is unchanged for existing callers.

Test plan

  • Trigger a downstream build with enable-buildkit-cache: false and confirm no buildcache-* tag is read or written
  • Trigger a downstream build with the default (or true) and confirm cache hit/export still works as before

🤖 Generated with Claude Code

@BrianEstrada BrianEstrada merged commit 97dc59c into main May 1, 2026
1 check passed
@BrianEstrada BrianEstrada deleted the feat/buildkit-registry-cache branch May 1, 2026 12:35
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