int128/docker-build-cache-config

Effective cache with docker/build-push-action for pull request based development flow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: int128/docker-build-cache-config-action@6b41b75cecc2e81696c50ae7c6c0300b51c2bee1 # v1.62.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
imageImage repository to import/export cacheyes
cache-typeType of cache backend (for source and destination). Can be registry, local, inline, gha and s3.yesregistry
flavorFlavor (multiline string)no
extra-cache-fromExtra flag to cache-fromno
extra-cache-toExtra flag to cache-tono
pull-request-cacheImport and export a pull request cachenofalse
cache-keyCustom cache key (experimental)no
cache-key-fallbackCustom cache key to fallback (experimental)no
bake-targetBake target namenodocker-build-cache-config-action
tokenGitHub tokenno${{ github.token }}
namedescription
cache-fromcache-from parameter for docker/build-push-action
cache-tocache-to parameter for docker/build-push-action
bake-fileBake definition file