Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-2414

[rhel-9] Explicitly set "version" and "name" labels for consistency

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Some of our image build paths (OSBS) create a container label "version" populated with data from (I think) our ENV var definition "version". Recently I wrote a behave test for this value, and for the value of hte "name" label, but they are not populated by cekit, so local and GHA-based builds fail the test.

      Move to setting the value of those labels via cekit for consistency.

      Note that this also guarantees we shadow the values inherited from the base image.

              jdowland@redhat.com Jonathan Dowland
              jdowland@redhat.com Jonathan Dowland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: