one more for annotations

This commit is contained in:
Amruth Pillai
2026-01-21 21:55:10 +01:00
parent 81f4a3e148
commit 499346e7ba
+8 -18
View File
@@ -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 ' *)