Skip to content

Add support for image-based build caches#50899

Open
TYsewyn wants to merge 1 commit into
spring-projects:mainfrom
TYsewyn:cache-image-support
Open

Add support for image-based build caches#50899
TYsewyn wants to merge 1 commit into
spring-projects:mainfrom
TYsewyn:cache-image-support

Conversation

@TYsewyn

@TYsewyn TYsewyn commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Added a new image cache option that uses the lifecycle's -cache-image argument for the creator, analyzer, restorer and exporter phases, so the build cache can be stored in an image and shared between hosts via an image registry.

Exposed the option in the Maven (<buildCache><image>) and Gradle (buildCache { image { } }) plugins.

Reject image caches configured for the launch cache, which the lifecycle does not support.

Added a new image cache option that uses the lifecycle's
`-cache-image` argument for the creator, analyzer, restorer and
exporter phases, so the build cache can be stored in an image and
shared between hosts via an image registry.

Exposed the option in the Maven (`<buildCache><image>`) and Gradle (`buildCache { image { } }`) plugins.

Reject image caches configured for the launch cache, which the
lifecycle does not support.

Signed-off-by: Tim Ysewyn <Tim.Ysewyn@me.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants