Skip to content

Pack builder updates for no cache and dirty tags#1668

Merged
djmb merged 1 commit intobasecamp:mainfrom
nickhammond:pack-dirty-tags-cache-support
Oct 15, 2025
Merged

Pack builder updates for no cache and dirty tags#1668
djmb merged 1 commit intobasecamp:mainfrom
nickhammond:pack-dirty-tags-cache-support

Conversation

@nickhammond
Copy link
Contributor

@nickhammond nickhammond commented Oct 13, 2025

There are a few new build options that were added in #1357(tag as dirty) and #1639(no cache) that need to be added to the pack builder options.

This PR adds support for the --no-cache options with Pack's --clear-cache option.

--clear-cache Clear image's associated cache before building

I've also updated the way tags are built to use the base build_tag_options to leverage the tag_as_dirty option.

https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/cli/pack_build/

@nickhammond nickhammond force-pushed the pack-dirty-tags-cache-support branch from 2b7a2fe to f491389 Compare October 13, 2025 10:36
@nickhammond nickhammond force-pushed the pack-dirty-tags-cache-support branch from f491389 to 1ac2442 Compare October 14, 2025 08:49
@djmb djmb merged commit a443072 into basecamp:main Oct 15, 2025
7 checks passed
@nickhammond nickhammond deleted the pack-dirty-tags-cache-support branch October 16, 2025 17:54
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