-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
I would like the distributed docker image to contain org.opencontainers.image.source label for easy reference back to this repository. This is useful for tools like Renovate that makes updates to repositories when this image gets updates. OCI has standardized a few labels for adding metadata to images: https://github.com/opencontainers/image-spec/blob/main/annotations.md
Currently this is the list of labels:
$ docker inspect quay.io/openshift/origin-console:4.16.0 --format '{{ json .Config.Labels }}' | jq{
"License": "Apache 2.0",
"architecture": "x86_64",
"build-date": "2024-03-07T02:59:05",
"com.redhat.build-host": "cpt-1001.osbs.prod.upshift.rdu2.redhat.com",
"com.redhat.component": "openshift-enterprise-console-container",
"com.redhat.license_terms": "https://www.redhat.com/agreements",
"description": "This is the base image from which all OpenShift Container Platform images inherit.",
"distribution-scope": "public",
"io.buildah.version": "1.32.2",
"io.k8s.description": "This is a component of OpenShift Container Platform and provides a web console.",
"io.k8s.display-name": "OpenShift Console",
"io.openshift.build.commit.author": "",
"io.openshift.build.commit.date": "",
"io.openshift.build.commit.id": "8c91a27550bb551aaee796d72fb8cd748af412f1",
"io.openshift.build.commit.message": "",
"io.openshift.build.commit.ref": "master",
"io.openshift.build.commit.url": "https://github.com/openshift/images/commit/2266a7f12fa725b3cd915b6195c9a8d297d01162",
"io.openshift.build.name": "",
"io.openshift.build.namespace": "",
"io.openshift.build.source-context-dir": "",
"io.openshift.build.source-location": "https://github.com/openshift/console",
"io.openshift.expose-services": "",
"io.openshift.maintainer.component": "Release",
"io.openshift.maintainer.project": "OCPBUGS",
"io.openshift.tags": "openshift,console",
"maintainer": "Samuel Padgett <spadgett@redhat.com>",
"name": "openshift3/ose-console",
"release": "202403070215.p0.g2266a7f.assembly.stream.el8",
"summary": "Provides the latest release of the Red Hat Extended Life Base Image.",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-base/images/v4.16.0-202403070215.p0.g2266a7f.assembly.stream.el8",
"vcs-ref": "8c91a27550bb551aaee796d72fb8cd748af412f1",
"vcs-type": "git",
"vcs-url": "https://github.com/openshift/console",
"vendor": "Red Hat",
"version": "v4.16.0"
}So you already got a few labels with metadata, but it would be nice if the standardized OCI labels was used in addition.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.