Repository navigation
Description
Problem
#19 (PR #27) gave the manifest list the OCI annotations. Run 41 on 2026-11-20 published 20261120.41: its manifest list holds org.opencontainers.image.description, and latest points to it. The GHCR package page still shows no description (read 2026-11-20, 19:15 UTC).
The page marks the version with the tag sha256-802666920311510f5e162bfab0b1f015fa4d97e4ea17635db356adfedc878126 as the newest. That tag is the fallback index of the OCI referrers tag schema. actions/attest with push-to-registry pushes it after the manifest list (19:13:26; the list 19:13:20). It holds one sigstore bundle and no annotation. A possible cause: GHCR takes the description from the newest version. This is not proven.
Change
- Find where GHCR reads the description of a multi-arch package that has an attestation in the registry: GitHub documentation, or a test with a test package.
- Make the package page show the description. Keep the attestation in the registry.
Proof
After a publish on main, the package page shows the description.
Source
Source: #19
Alternatives check of 2026-11-23: partly.
Tool: docker/buildx (https://github.com/docker/buildx), Apache-2.0, last activity 2026-11-23, maintained.
Reason: Searches surfaced only registry-CLI candidates (buildx, regctl, crane). buildx copies an index with --annotation onto the referrers tag, but no tool shows where GHCR reads the description or verifies the page.
Covers:
- Copies an OCI index to a tag with --annotation
- Reuses metadata-action annotation values for both indexes
- Leaves the attested manifest list digest unchanged
- Already present in the publish workflow
Lacks:
- No in-place annotation; the copy yields a new index digest
- No check that GHCR renders the description from that index
- Annotation values must be supplied by the workflow
- Does not diagnose which version GHCR reads the description from
Proposed design
Problem statement
The GHCR package page shows no description, although the published manifest list carries org.opencontainers.image.description. actions/attest pushes a second, newer package version under the OCI referrers fallback tag sha256-<hex>, and that index carries no annotation. The change copies the referrers index with the manifest list's annotations, so both package versions carry the description and the attestation stays in the registry.
Acceptance criteria
Requirement: Annotate the attestation referrers index
The publish job SHALL copy the attestation referrers tag with docker buildx imagetools create --annotation and the values of steps.meta.outputs.annotations, so that its index carries the same org.opencontainers.image.description as the manifest list.
Scenario: Referrers index carries the description
- WHEN the publish job of a run on
mainhas copied the tagghcr.io/dan-petty/devtools:sha256-<hex>, where<hex>is the digest of the manifest list without itssha256:prefix - THEN
docker buildx imagetools inspect --raw ghcr.io/dan-petty/devtools:sha256-<hex>shows anorg.opencontainers.image.descriptionannotation equal to the one thatdocker buildx imagetools inspect --raw ghcr.io/dan-petty/devtools@<digest>shows.
Requirement: Keep the registry attestation
The publish job MUST keep the build provenance attestation discoverable in the registry after it copies the referrers index.
Scenario: Attestation verifies after the copy
- WHEN the publish job of a run on
mainhas copied the referrers index - THEN
gh attestation verify oci://ghcr.io/dan-petty/devtools:latest --owner dan-pettyexits with status 0.
Requirement: Show the description on the package page
The GHCR package page MUST show the description of the package after a publish on main.
Scenario: Package page shows the description
- WHEN the publish job of a run on
mainhas finished - THEN the package page of
ghcr.io/dan-petty/devtoolsshows the value oforg.opencontainers.image.description.
Requirement: Pass the workflow linters
The image workflow MUST pass actionlint and zizmor with no finding.
Scenario: Workflow lint
- WHEN a pull request changes
.github/workflows/image.yml - THEN the
testjob of.github/workflows/image.ymlreports no actionlint finding and no zizmor finding, and the job passes.
Existing Tool Considered
The alternatives check of 2026-11-23 in the issue body returns partly and names docker/buildx (https://github.com/docker/buildx, Apache-2.0) as the tool. That block states what the tool covers and what it lacks. The publish job uses docker buildx imagetools create --annotation to copy the referrers index with the values of steps.meta.outputs.annotations. Two live checks cover the lacks of the block: gh attestation verify oci://ghcr.io/dan-petty/devtools:latest --owner dan-petty shows the attestation, and the package page check after a publish on main shows the description.
Key questions
- Where does GHCR read the description of a multi-arch image?: GitHub reads it from the OCI annotations of the image manifest or index, not from the labels of the platform images. The repository records this rule at
.github/workflows/image.yml:487and inREADME.md. The issue records that the page still shows no description when only the manifest list carries the annotation, so the plan also annotates the other package version. [sources: .github/workflows/image.yml:487, README.md] - Which package version does the GHCR page mark as the newest after a publish?: The version under the referrers fallback tag
sha256-<hex>, whichactions/attestpushes after the manifest list. The issue records the tagsha256-802666920311510f5e162bfab0b1f015fa4d97e4ea17635db356adfedc878126as the newest on 2026-11-20, 19:13:26 UTC, five seconds after the manifest list. [sources: .github/workflows/image.yml] - How should the publish job make GHCR show the description while it keeps the attestation in the registry?: Annotate the attestation referrers index after
actions/attestwithdocker buildx imagetools create --annotation. The manifest list already carries the description, and the referrers index is the other, newer package version. Both then carry the description, and the manifest list digest and its attestation do not change. (best practice) [sources: .github/workflows/image.yml:487, .github/workflows/image.yml:514]- Chosen: Copy the referrers index with
docker buildx imagetools create --annotation. Gives the other, newer package version the description and keeps the attested manifest list digest unchanged. buildx is already in the publish job. - Rejected: Re-push the manifest list with the annotation. Annotations are part of the manifest. The digest changes, and the build provenance attestation no longer matches the published digest.
- Rejected: Set the description with the GitHub Packages REST API. The package belongs to the user
dan-petty, so the call needs a user token with admin permission on the package. It also adds a second source of truth next to the image annotations. - Rejected: Add the annotation to each platform image manifest. The platform digests change. The manifest list and the attestations of the publish job name the old digests.
- Rejected: Stop pushing the attestation to the registry. The issue requires the in-registry attestation, and
README.mddocumentsgh attestation verifyagainst the registry.
- Chosen: Copy the referrers index with
- Which annotation values should the referrers index get?: Reuse the index-level
annotationsoutput ofdocker/metadata-actionat.github/workflows/image.yml:511, the same values that the manifest list gets. The description, source and licenses then stay in one place. (best practice) [sources: .github/workflows/image.yml:501, .github/workflows/image.yml:511, .github/workflows/image.yml:514]- Chosen: Reuse
steps.meta.outputs.annotations. One source of values for both indexes. The description matches the manifest list by construction, and no literal is duplicated. - Rejected: Add only
org.opencontainers.image.description. Duplicates the value and leaves the other index annotations off the newer package version. - Rejected: Hard-code the description in the step. Creates a second source of truth that drifts from the metadata-action output.
- Chosen: Reuse
- How does the plan confirm where GHCR reads the description of a package that has an in-registry attestation?: Check the real package page after the next publish on
main. That check is the proof of the issue and needs no extra repository or token. (best practice) [sources: README.md]- Chosen: Check the package page after the next publish on
main. Uses the real package, the real attestation and the real page. No extra repository, token or permission is necessary, and the Proof section of the issue names this check. - Rejected: Publish a test package in a scratch repository. Needs a second repository and package permissions, and the page of the owner's package can behave differently from the page of a scratch package.
- Rejected: Rely on the GitHub documentation. The documentation describes the annotation of the image manifest or index. It does not describe a package that has an in-registry attestation.
- Chosen: Check the package page after the next publish on
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 20, 2026
Both concern the attestation pushed by actions/attest; #22 asked to switch to that action, the candidate asks to fix the GHCR page display it breaks.devops-cli-service commentedon Nov 20, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
devops-cli-service commentedon Nov 23, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (10)
Tools considered:
Searches run:
Sources:
devops-cli-service commentedon Nov 23, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
10 remaining items
docs: give group 1 of the plan of #29 a check that the runner can name
docs: dry-run the copy before the push in the plan of #29
docs: plan #29 Show the description on the GHCR page (#103)
devops-cli-service commentedon Nov 27, 2026
The draft pull request #107 holds the final title and body. In mode
onofroadmap.fix_checks.mode, the watch row marks it ready when its checks pass, and a fix-checks Job repairs a failed check whose name gives the class test, lint or types. In each other case the watch row stops the item: another failed check, a cancelled check, a conflict, a fix-checks Job that ended with no repair, or another mode.Spend: 43 model requests, 2134243 input tokens, 20443 output tokens.
devops-cli-service commentedon Nov 27, 2026
Released in v1.3.3: https://github.com/dan-petty/devtools/releases/tag/v1.3.3