Skip to content

ci(release): annotate the mock container manifest#89

Merged
ShortArrow merged 1 commit into
mainfrom
ci/ghcr-image-description
Jul 22, 2026
Merged

ci(release): annotate the mock container manifest#89
ShortArrow merged 1 commit into
mainfrom
ci/ghcr-image-description

Conversation

@ShortArrow

Copy link
Copy Markdown
Owner

The ivi-cli-mock package on GHCR shows "No description provided." because the image is a multi-arch manifest (linux/amd64,linux/arm64) — a Dockerfile LABEL does not reach the index that GHCR reads, so the description has to be set as a manifest annotation.

What

Add annotations to the docker/build-push-action step, targeting the multi-arch index (index: prefix):

  • org.opencontainers.image.description — the package page description
  • org.opencontainers.image.source — links the package back to this repository
  • org.opencontainers.image.licensesMIT OR Apache-2.0
  • org.opencontainers.image.titleivi-cli-mock

Effect

Takes effect on the next release: the manifest is re-pushed on each v* tag, so the annotations land then (the already-published 0.2.8 image is not rewritten). CI-only; no product code changes.

The ivi-cli-mock package on GHCR showed "No description provided" because the
image is a multi-arch manifest and a Dockerfile LABEL does not reach the index.
Set OCI annotations on the index via docker/build-push-action so the package
page gets a description, links back to the repository (image.source), and
declares its license. Takes effect on the next release (the manifest is
re-pushed on each v* tag).
@ShortArrow
ShortArrow merged commit 76a81b7 into main Jul 22, 2026
6 checks passed
@ShortArrow
ShortArrow deleted the ci/ghcr-image-description branch July 22, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant