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:
1 parent
01f90c1f6a
commit
c3c665e799
11 files changed
+363
-11
No files matched your search
@@ -69,6 +69,13 @@ protection, or create tags: those are the operator's.
|
||||
tag and digest, and the version bump. Digest drift within a release is tolerated. A `job_image`-only bump is
|
||||
not an image input: no version bump, nothing rebuilt; the post-merge Images run only reaches the prepare step
|
||||
for published versions, so that is its only exercise.
|
||||
- Image metadata: Gitea's package page shows the description as plain text (no markdown), lists every label,
|
||||
and links source, documentation and licence; it renders no README. So each Dockerfile carries the same
|
||||
label block (`org.opencontainers.image.*` plus `net.rkdr.mortis.purpose/contents/usage`), the build adds
|
||||
`version`, `revision` and `created`, and the readme-style text lives in `docs/images/<name>.md`, which the
|
||||
`documentation` label links to. `check_image_versions.py pins` fails when a label or that file is missing.
|
||||
The docs sit outside the image directories on purpose: editing them is not an image input, so it needs no
|
||||
new version. Editing a label in a Dockerfile is an input and does.
|
||||
- Each pushed layer must stay below 100 MB: Cloudflare rejects larger request bodies with
|
||||
HTTP 413. That is why the `ci` image deletes the Go toolchains from the hook cache.
|
||||
- `image.yml` tries the job token first with a write probe; Gitea 28 refuses it for the org's packages
|
||||
|
||||
Reference in new issue
Block a user