feat(image): describe every image: labels, a readme page and build metadata

The registry page shows the description as plain text, every label, and links to source,
documentation and licence; it renders no readme. Each Dockerfile now carries one label
block (title, description, source, url, documentation, licenses, authors, base.name and
net.rkdr.mortis.purpose/contents/usage), the build adds version, revision and created, and
docs/images/<name>.md says what the image is for, what it contains and how to use it.
check_image_versions.py pins fails when a label or that page is missing. The labels are
image inputs, so the three images get their PATCH bump.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
Defame1297andClaude Sonnet 5.5 committed 2026-10-26 19:27:15 +00:00
1 parent 01f90c1f6a
commit c3c665e799
11 files changed
+363 -11

No files matched your search

+9 -3
View File
@@ -76,17 +76,17 @@ jobs:
matrix:
include:
- name: molecule-ubuntu2404
version: 0.1.2
version: 0.1.3
subpath: images/molecule-ubuntu2404
dockerfile: Dockerfile
job_image: ubuntu:24.04@sha256:68ee22004a9109b44973313b02ff7b1de250f1de0f5ecb628d73f579aaff33ac
- name: molecule-ubuntu2604
version: 0.1.0
version: 0.1.1
subpath: images/molecule-ubuntu2604
dockerfile: Dockerfile
job_image: ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944
- name: ci
version: 0.2.5
version: 0.2.6
subpath: ""
dockerfile: images/ci/Dockerfile
job_image: ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944
@@ -292,6 +292,11 @@ jobs:
exit 0
fi
dests=(--destination "${image}:${IMAGE_VERSION}" --destination "${image}:latest")
# Labels only the build knows (the static ones are in the Dockerfile). The package page of
# the registry lists them next to the Dockerfile's.
labels=(--label "org.opencontainers.image.version=${IMAGE_VERSION}"
--label "org.opencontainers.image.revision=${SHA}"
--label "org.opencontainers.image.created=$(date -u +%Y-%m-%dT%H:%M:%SZ)")
# Context: this commit of this repository, cloned by kaniko (#<ref>#<sha>:
# clone <ref>, check out <sha>). With a sub-path only that directory is the
@@ -314,6 +319,7 @@ jobs:
--context "git://${registry}/${REPO}.git#${REF}#${SHA}" \
"${ctx[@]}" \
"${dests[@]}" \
"${labels[@]}" \
--snapshot-mode=redo \
--cache=false \
--push-retry 3 \