Skip to content

imglife status

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
Terminal window
# Print to stdout
imglife status
# Write to a file
imglife status --output README.md
# Commit the report to git (typical CI usage)
imglife status --output README.md
git add README.md
git commit -m "chore: update status report"
git push

The generated report includes:

  1. Table of contents
  2. Mirror images — all entries in sync.entries, grouped by target image. When several sync blocks 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, so 10 > 8). Each entry’s tags are resolved from the registry with its own anchored tag / tag_regex, normalised when os_normalize is set (3.12-bookworm → 3.12-debian12).
  3. Base images — all entries in build.images of type core or spe. Each block gets its own row: blocks sharing a folder but pinned to different version lines via mirror_tag / mirror_tag_regex show their own tag, build date, EOL cycle and link definition.
  4. Projects — one row per project scanned with imglife scan --register
  5. Unmanaged images — images used by the projects but not provided by imglife
  6. Legend
  7. Custom block — status.client_zone content if configured
## 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 |

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;
  • Unmanaged counts the unmanaged images (list in tooltip), Ref shows the scanned branch or tag (SHA in tooltip), Info (when a project has --field values) 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.

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.

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)

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.

Code Meaning
0 Report generated successfully
1 Error generating the report