Skip to content

build/bake: add artifact retention days input#250

Open
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:add-artifact-retention-days
Open

build/bake: add artifact retention days input#250
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:add-artifact-retention-days

Conversation

@crazy-max

Copy link
Copy Markdown
Member

This adds an artifact-retention-days input to the build and bake reusable workflows so callers can control how long uploaded local build artifacts are retained.

The new input defaults to 0, which preserves the current repository default retention behavior. This matters for large artifacts because local build outputs can consume a lot of GitHub artifact storage when they keep the default retention window. Letting callers shorten retention is a practical way to reduce storage pressure and cost for short-lived CI artifacts, while still allowing longer retention when artifacts need to support release, audit, or debugging workflows.

@crazy-max crazy-max requested a review from tonistiigi July 10, 2026 15:06
@crazy-max crazy-max requested a review from a team as a code owner July 10, 2026 15:06
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the add-artifact-retention-days branch from 93a9e9b to 7c42968 Compare July 10, 2026 15:08
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