console icon indicating copy to clipboard operation
console copied to clipboard

feature: add opencontainers label to the quay.io/openshift/origin-console docker image

Open mikaello opened this issue 3 years ago • 16 comments

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 <[email protected]>",
  "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.

mikaello avatar Oct 26 '22 13:10 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jan 25 '23 01:01 openshift-bot

/remove-lifecycle stale

mikaello avatar Jan 25 '23 04:01 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Apr 25 '23 09:04 openshift-bot

/remove-lifecycle stale

mikaello avatar Apr 25 '23 12:04 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jul 25 '23 01:07 openshift-bot

/remove-lifecycle stale

mikaello avatar Jul 25 '23 05:07 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Oct 23 '23 09:10 openshift-bot

/remove-lifecycle stale

mikaello avatar Oct 23 '23 14:10 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jan 22 '24 01:01 openshift-bot

/remove-lifecycle stale

mikaello avatar Jan 23 '24 06:01 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Apr 22 '24 09:04 openshift-bot

/remove-lifecycle stale

mikaello avatar Apr 22 '24 09:04 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jul 22 '24 01:07 openshift-bot

/remove-lifecycle stale

mikaello avatar Jul 22 '24 04:07 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Oct 20 '24 09:10 openshift-bot

/remove-lifecycle stale

mikaello avatar Oct 20 '24 12:10 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jan 19 '25 01:01 openshift-bot

/remove-lifecycle stale

mikaello avatar Jan 19 '25 05:01 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Apr 19 '25 09:04 openshift-bot

/remove-lifecycle stale

mikaello avatar Apr 19 '25 12:04 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jul 19 '25 01:07 openshift-bot

/remove-lifecycle stale

mikaello avatar Jul 20 '25 11:07 mikaello

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Oct 19 '25 01:10 openshift-bot

/remove-lifecycle stale

mikaello avatar Oct 19 '25 11:10 mikaello