From 4ef74f33179c658fdcc4a1313b5d560d7e69aed5 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 28 May 2026 12:33:42 +0700 Subject: [PATCH] feat(scribe): expand OCI image-spec labels Add image.title and image.licenses; override metadata-action defaults in publish workflow so published image carries Scribe upstream source and correct title rather than this repo's auto-derived values. --- .github/workflows/publish-scribe-2.2.yml | 6 ++++++ scribe-2.2/Dockerfile | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/publish-scribe-2.2.yml b/.github/workflows/publish-scribe-2.2.yml index 2bf75b9..9812ba3 100644 --- a/.github/workflows/publish-scribe-2.2.yml +++ b/.github/workflows/publish-scribe-2.2.yml @@ -45,6 +45,12 @@ jobs: tags: | type=raw,value=latest type=raw,value=2.2 + labels: | + org.opencontainers.image.title=Facebook Legacy Scribe + org.opencontainers.image.description=Facebook Legacy Scribe - real-time log aggregation daemon + org.opencontainers.image.version=2.2 + org.opencontainers.image.source=https://github.com/facebookarchive/scribe + org.opencontainers.image.licenses=Apache-2.0 - name: Build and push Docker images id: push diff --git a/scribe-2.2/Dockerfile b/scribe-2.2/Dockerfile index d0894c5..854f264 100644 --- a/scribe-2.2/Dockerfile +++ b/scribe-2.2/Dockerfile @@ -68,6 +68,11 @@ RUN set -eux; \ FROM centos:7 LABEL maintainer="Tien Nguyen Minh " +LABEL org.opencontainers.image.title="Facebook Legacy Scribe" +LABEL org.opencontainers.image.description="Facebook Legacy Scribe - real-time log aggregation daemon" +LABEL org.opencontainers.image.version="2.2" +LABEL org.opencontainers.image.source="https://github.com/facebookarchive/scribe" +LABEL org.opencontainers.image.licenses="Apache-2.0" # CentOS 7 is EOL, so yum must use the vault repositories. RUN sed -i 's|^mirrorlist=|#mirrorlist=|g; s|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \