Skip to content

fix(ci): annotate the image index with its description #19

Closed
0 of 1 issue completed
Closed

Description

@dan-petty

Problem

The GHCR page of the package shows no description (read 2026-11-20). GitHub reads the description of a multi-arch image from the annotations of its manifest ("Working with the Container registry", GitHub Docs). The publish job makes the manifest list with docker buildx imagetools create and gives it no annotation. Only each platform image has the label org.opencontainers.image.description.

Change

  • The publish job gives the manifest list the annotations org.opencontainers.image.description, org.opencontainers.image.source and org.opencontainers.image.licenses, with the same values as the labels.
  • The step that tags the attested manifest list latest keeps its digest check.

Proof

  • skopeo inspect --raw docker://ghcr.io/dan-petty/devtools:latest shows the three annotations on the manifest list.
  • The package page shows the description.

Alternatives check of 2026-11-20: in-use.
The item already names this tool.
Tool: docker/buildx (https://github.com/docker/buildx), Apache-2.0, last activity 2026-11-20, maintained.
Reason: Searches returned little usable documentation, but the publish job already uses buildx imagetools create, whose --annotation flags write description, source and license onto the manifest list; only the workflow needs the extra flags.

Covers:

  • Writes OCI annotations onto a manifest list
  • Sets description, source and license keys
  • Retags the existing manifest list without rebuilding images

Lacks:

  • No check that GHCR renders the description
  • Annotation values must be supplied by the workflow
  • Does not verify the resulting index beyond the digest check

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    type/bug
    status/new
    value/low
    effort/low
    source/agent
    on Nov 20, 2026
  2. dan-petty commented on Nov 20, 2026

    @dan-petty
    OwnerAuthor
  3. added
    scope/ci
    priority/p2-medium
    on Nov 20, 2026
  4. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service

    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:

    • docker buildx imagetools create --annotation manifest list OCI annotations, results: 5
    • add org.opencontainers.image.description annotation to multi-arch image index GHCR description, results: 5
    • "imagetools create" "--annotation" buildx, results: 5
    • buildx imagetools create annotation flag documentation, results: 5
    • github docs container registry multi-arch image description annotations, results: 5
    • docker docs buildx imagetools create reference, results: 5
    • skopeo inspect raw manifest annotations, results: 5
    • docker buildx, results: 5
    • docker/buildx github repository imagetools, results: 5
    • container image manifest list annotations description registry, results: 5

    Sources:

  5. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 20, 2026
  6. removed
    status/in-review
    on Nov 20, 2026
  7. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/cisource/agenttype/bugvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions