From 499346e7bae762067938f853274a91c1aeec1ba8 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Wed, 21 Jan 2026 21:55:10 +0100 Subject: [PATCH] one more for annotations --- .github/workflows/docker-build.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7a76e49f2..0f8ba065f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -67,15 +67,6 @@ jobs: docker.io/${{ env.IMAGE }} tags: | type=sha,prefix=sha-,suffix=-${{ matrix.arch }} - annotations: | - org.opencontainers.image.licenses=MIT - org.opencontainers.image.title=Reactive Resume - org.opencontainers.image.description=A free and open-source resume builder. - org.opencontainers.image.vendor=Amruth Pillai - org.opencontainers.image.url=https://rxresu.me - org.opencontainers.image.documentation=https://docs.rxresu.me - org.opencontainers.image.source=https://github.com/amruthpillai/reactive-resume - org.opencontainers.image.version=${{ steps.version.outputs.version }} - name: Build and Push by Digest id: build @@ -174,15 +165,6 @@ jobs: type=raw,value=v${{ steps.version.outputs.version }} type=raw,value=v${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }} type=raw,value=v${{ steps.semver.outputs.major }} - annotations: | - org.opencontainers.image.licenses=MIT - org.opencontainers.image.title=Reactive Resume - org.opencontainers.image.description=A free and open-source resume builder. - org.opencontainers.image.vendor=Amruth Pillai - org.opencontainers.image.url=https://rxresu.me - org.opencontainers.image.documentation=https://docs.rxresu.me - org.opencontainers.image.source=https://github.com/amruthpillai/reactive-resume - org.opencontainers.image.version=${{ steps.version.outputs.version }} - name: Create manifest list and push id: manifest @@ -191,6 +173,14 @@ jobs: set -euo pipefail docker buildx imagetools create \ $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ + --annotation "index:org.opencontainers.image.licenses=MIT" \ + --annotation "index:org.opencontainers.image.title=Reactive Resume" \ + --annotation "index:org.opencontainers.image.description=A free and open-source resume builder." \ + --annotation "index:org.opencontainers.image.vendor=Amruth Pillai" \ + --annotation "index:org.opencontainers.image.url=https://rxresu.me" \ + --annotation "index:org.opencontainers.image.documentation=https://docs.rxresu.me" \ + --annotation "index:org.opencontainers.image.source=https://github.com/amruthpillai/reactive-resume" \ + --annotation "index:org.opencontainers.image.version=${{ steps.version.outputs.version }}" \ $(printf 'ghcr.io/${{ env.IMAGE }}@sha256:%s ' *) \ $(printf 'docker.io/${{ env.IMAGE }}@sha256:%s ' *)