mirror of
https://github.com/tiennm99/docker-images.git
synced 2026-10-12 22:14:38 +00:00
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.
This commit is contained in:
1 parent
afaa631c94
commit
4ef74f3317
2 files changed
+11
No files matched your search
@@ -45,6 +45,12 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
type=raw,value=2.2
|
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
|
- name: Build and push Docker images
|
||||||
id: push
|
id: push
|
||||||
|
|||||||
@@ -68,6 +68,11 @@ RUN set -eux; \
|
|||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
|
||||||
LABEL maintainer="Tien Nguyen Minh <tiennm99@outlook.com>"
|
LABEL maintainer="Tien Nguyen Minh <tiennm99@outlook.com>"
|
||||||
|
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.
|
# 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' \
|
RUN sed -i 's|^mirrorlist=|#mirrorlist=|g; s|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \
|
||||||
|
|||||||
Reference in new issue
Block a user