gc-bundles

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command gc-bundles prunes unreferenced GHCR bundles.

Runs in two modes:

--dry-run (default): list candidate versions without deleting.
--confirm: actually delete the candidates. Guarded behind a workflow
           dispatch input; local dev should stick to --dry-run.

A version is a candidate for pruning when it is:

  • a container manifest under ghcr.io/<org>/php-core or ghcr.io/<org>/php-ext-<name>;
  • older than --min-age-days (default 30);
  • not referenced by bundles.lock on any remote branch or any released tag's embedded bundles.lock.

Released-tag lockfile references are load-bearing for product-vision §16 reproducibility and must never be pruned.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL