imglife status
Synopsis
Section titled “Synopsis”imglife status [flags]Generates a Markdown README summarising the state of all images across the three tiers: mirrors, base images, and the projects using them.
| Flag | Default | Description |
|---|---|---|
--output string |
stdout | Write the report to a file |
Examples
Section titled “Examples”# Print to stdoutimglife status
# Write to a fileimglife status --output README.md
# Commit the report to git (typical CI usage)imglife status --output README.mdgit add README.mdgit commit -m "chore: update status report"git pushReport structure
Section titled “Report structure”The generated report includes:
- Table of contents
- Mirror images — all entries in
sync.entries, grouped by target image. When severalsyncblocks point to the same target (e.g. a generic regex tracking the latest version alongside a fixed-tag block), their tags are merged, deduplicated, and sorted in descending version order (numeric compare, so10>8). Each entry’s tags are resolved from the registry with its own anchoredtag/tag_regex, normalised whenos_normalizeis set (3.12-bookworm→3.12-debian12). - Base images — all entries in
build.imagesof typecoreorspe. Each block gets its own row: blocks sharing afolderbut pinned to different version lines viamirror_tag/mirror_tag_regexshow their own tag, build date, EOL cycle and link definition. - Projects — one row per project scanned with
imglife scan --register - Unmanaged images — images used by the projects but not provided by imglife
- Legend
- Custom block —
status.client_zonecontent if configured
Example output
Section titled “Example output”## Base images
| Image | Tag | Platforms | EOL | Status || ------ | --------------------------- | ------------- | ---------- | ------ || alpine | 3.21.3-core1.0.0 | amd64 · arm64 | 2026-11-01 | ✅ || golang | 1.22.3-alpine3.21-core1.0.0 | amd64 | 2026-02-01 | ⚠️ || ubuntu | 22.04-core1.0.0 | amd64 | ❌ EOL | ❌ |
## Projects
**3 project(s)** · ❌ EOL 1 · ⬆️ update 1 · ✅ OK 1 · [1 unmanaged image(s)](#unmanaged-images)
| Project | Status | Images | Unmanaged | Ref | Scanned on || ------------ | --------- | ---------------------------------- | --------- | ------- | ---------- || legacy-batch | ❌ EOL | `ubuntu:22.04-core1.0.0` ❌ | — | `2.4.0` | 28/10/26 || myservice | ⬆️ update | `alpine:3.21.3-core1.0.0` ⬆️ | 1 | `1.2.0` | 29/10/26 |
<details><summary>✅ — 1 project(s) up to date or without managed image</summary>…</details>
## Unmanaged images
| Image | Projects | Used by || ---------------- | -------- | --------- || `docker:26-dind` | 1 | myservice |Projects view
Section titled “Projects view”The Projects section stays readable with thousands of projects:
- one row per project — its last published scan — with its managed images deduplicated; the full reference and its sources (
Dockerfile:2) are in a tooltip; - a counters line on top;
- rows sorted by worst status (EOL > critical > warning > update > unknown > OK), then by path;
- healthy projects (worst status OK, or no managed image) are folded in a
<details>block; Unmanagedcounts the unmanaged images (list in tooltip),Refshows the scanned branch or tag (SHA in tooltip),Info(when a project has--fieldvalues) shows them in aⓘtooltip.
Image statuses are recomputed at generation time, since EOL dates move after the scan. Base images: cycle of the version line, plus ⬆️ update when a newer tag exists on the same line. Mirrors: cycle of the tag; the update hint comes from the scan. Applicative images, and images whose cycle cannot be evaluated: the scan verdict. Unresolved references: ❔ unknown.
The Unmanaged images section lists each unmanaged image with the number of projects using it, most used first; lists longer than 5 projects are folded.
Status indicators
Section titled “Status indicators”| Symbol | Meaning |
|---|---|
✅ OK |
Lifecycle OK — hover for available update (tooltip) |
⬆️ update |
Lifecycle OK, a newer tag is available (projects view) |
⚠️ outdated |
Lifecycle approaching EOL (WARNING / CRITICAL) |
❌ EOL |
End of Life — no longer supported |
⚠️ N/A |
No EOL data for this cycle — hover for the reason (tooltip) |
❔ unknown |
Status cannot be evaluated (unresolved reference, missing data) |
— |
Not applicable / information missing |
A cycle absent from the EOL cache no longer falls back to a bare ⚠️ N/A: imglife first tries the
neighboring cycles. A cycle newer than anything the provider knows inherits the previous cycle’s
status when that cycle is still supported (the tooltip names it), and a cycle older than every known
cycle is reported as ⚠️ outdated. ⚠️ N/A remains only when nothing can be inferred, and its
tooltip states why. Run imglife eol update to fill the gap.
Lifecycle alert blocks
Section titled “Lifecycle alert blocks”Above the Mirror images table, status emits GitHub-flavored alert blocks for tracked mirror images approaching or past EOL, grouped by severity: all WARNING images share a single > [!WARNING] block, and all CRITICAL and EOL images share a single > [!CAUTION] block. Healthy images produce no alert.
> [!WARNING]> **`registry.example.com/mirrors/python:3.12-alpine`** (`python/3.12`): EOL approaching (01/10/28)> **`registry.example.com/mirrors/node:18-alpine`** (`nodejs/18`): EOL approaching (30/04/28)
> [!CAUTION]> **`registry.example.com/mirrors/debian:11`** (`debian/11`): EOL exceeded (30/06/26)Customising the report
Section titled “Customising the report”Add a status.client_zone block in imglife.yaml to append custom Markdown:
status: client_zone: | --- Pipeline runs daily at 06:00 UTC. Contact #platform-images for questions.See status configuration.
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
Report generated successfully |
1 |
Error generating the report |