Skip to content

imglife app

imglife app list [flags]
imglife app purge [flags]

Manages applicative build records stored in the Package Registry.

Lists all build records published by applicative teams via imglife register.

FlagDefaultDescription
--detailedfalseShow full record details (base, revision, platforms)
--output stringtextOutput format: text or json
--output-file stringWrite output to a file
--project stringFilter records by project path (substring match)
Terminal window
# List all app records
imglife app list
# Filter by project
imglife app list --project myteam/myservice
# Detailed view
imglife app list --detailed
# JSON output
imglife app list --output json
# Export to file
imglife app list --output json --output-file records.json
myteam/myservice
myservice:1.2.0 base: alpine:3.21.3-core1.0.0 built: 2026-04-01
myservice:1.1.0 base: alpine:3.20.6-core1.0.0 built: 2026-02-15
myteam/api
api:3.0.0 base: golang:1.22.3-core1.0.0 built: 2026-03-20

Removes stale build records from the Package Registry.

FlagDefaultDescription
--keep integer10Number of most-recent records to keep per image
--dry-runfalseSimulate without deleting
--delete-on-errorfalseAlso delete records for images that no longer exist in the OCI registry
--project stringLimit to records matching this project path
Terminal window
# Preview: show what would be purged
imglife app purge --dry-run
# Keep 5 most recent records per image
imglife app purge --keep 5
# Also remove orphaned records (images no longer in OCI registry)
imglife app purge --keep 10 --delete-on-error
# Limit to one project
imglife app purge --project myteam/myservice
CodeMeaning
0Success
1Error