From 69fd6fe5c6c778045312ec870c7c475b8a8e5db2 Mon Sep 17 00:00:00 2001 From: ShortArrow Date: Wed, 22 Jul 2026 14:32:57 +0900 Subject: [PATCH] ci(release): annotate the mock container manifest 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). --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef462c6..ba04be1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -289,6 +289,14 @@ jobs: ${{ steps.tags.outputs.image }}:${{ steps.tags.outputs.minor }} ${{ steps.tags.outputs.image }}:${{ steps.tags.outputs.sha7 }} ${{ steps.tags.outputs.image }}:latest + # OCI annotations on the multi-arch index — the manifest GHCR reads + # for the package description and repo link. A Dockerfile LABEL does + # not reach the index for a multi-arch image, so they are set here. + annotations: | + index:org.opencontainers.image.title=ivi-cli-mock + index:org.opencontainers.image.description=Scenario-driven mock VISA instrument (HiSLIP on 4880 + raw SOCKET on 5025) for testing SCPI clients without hardware. Built from ivi-cli. + index:org.opencontainers.image.source=https://github.com/ShortArrow/ivi-cli + index:org.opencontainers.image.licenses=MIT OR Apache-2.0 release: name: github release