Docker digest label should include algorithm

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.10.0-alpha4, 3.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not defined

      Related support issue

      It came to our attention recently that the Docker digest label should include the algorithm, not only the digest. See https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests for the expected format.

      To Reproduce

      docker pull camunda/optimize:latest
      docker inspect camunda/optimize | jq '.[0].Config.Labels."org.opencontainers.image.base.digest"'

      Observed behavior

      The above outputs 1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870

       

      Testing notes

      • Run docker pull camunda/optimize:latest
      • Run docker inspect camunda/optimize | jq '.[0].Config.Labels."org.opencontainers.image.base.digest"'

      It should output sha256:SOME_HASH

      • Additionally, the check during the pipeline should not fail (If master is green, then it can be considered as passed)

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Nicolas Pepin-Perreault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: