Skip to content

feat: Add cache layer support#420

Merged
gmpinder merged 3 commits intomainfrom
410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github
May 9, 2025
Merged

feat: Add cache layer support#420
gmpinder merged 3 commits intomainfrom
410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github

Conversation

@gmpinder
Copy link
Copy Markdown
Member

@gmpinder gmpinder commented May 2, 2025

This adds a new --cache-layers arg to the build subcommand. It can also be set with the environment variable $BB_CACHE_LAYERS. Using this flag will enable caching build layers to the registry the final image is being pushed to. When a build is run again, it will check for the cached layers in the registry and pull them if they exist.

@gmpinder gmpinder self-assigned this May 2, 2025
@gmpinder gmpinder force-pushed the 410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github branch 4 times, most recently from 75a3ccf to 182987d Compare May 4, 2025 16:10
@gmpinder gmpinder marked this pull request as ready for review May 4, 2025 16:11
@gmpinder gmpinder force-pushed the 410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github branch 7 times, most recently from 8c974ef to 526e3d9 Compare May 7, 2025 16:21
@gmpinder gmpinder force-pushed the 410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github branch 3 times, most recently from f295ea6 to fee3431 Compare May 9, 2025 18:24
@gmpinder gmpinder force-pushed the 410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github branch from fee3431 to db687ff Compare May 9, 2025 18:28
@gmpinder gmpinder merged commit 00806b0 into main May 9, 2025
17 checks passed
@gmpinder gmpinder deleted the 410-feat-support-podmanbuildah-image-cache-to-reach-feature-parity-on-gitlab-with-github branch May 9, 2025 20:58
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.

feat: support podman/buildah image cache to reach feature parity on Gitlab with Github

1 participant