Skip to content

feat: add cache-from/cache-to passthrough to build-push-action - #4

Open
ps-20x wants to merge 1 commit into
serversideup:mainfrom
ps-20x:feat/cache-from-cache-to
Open

feat: add cache-from/cache-to passthrough to build-push-action#4
ps-20x wants to merge 1 commit into
serversideup:mainfrom
ps-20x:feat/cache-from-cache-to

Conversation

@ps-20x

@ps-20x ps-20x commented Jul 20, 2026

Copy link
Copy Markdown

Lets consumers wire external build caches (e.g. GitHub Actions cache, registry cache) through to docker/build-push-action, which already supports cache-from/cache-to natively. Without this the composite action forces every build to start cold, since GitHub-hosted runners are fresh VMs per job and local buildx cache never persists across runs regardless of builder lifecycle.

Backward compatible: both inputs default to empty string, matching existing optional-input behavior in this action.

Lets consumers wire external build caches (e.g. GitHub Actions cache,
registry cache) through to docker/build-push-action, which already
supports cache-from/cache-to natively. Without this the composite
action forces every build to start cold, since GitHub-hosted runners
are fresh VMs per job and local buildx cache never persists across
runs regardless of builder lifecycle.

Backward compatible: both inputs default to empty string, matching
existing optional-input behavior in this action.
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