Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18690

shared layers from different docker images are cloned with properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.11.1
    • Fix Version/s: 6.9.1
    • Component/s: Docker, Properties
    • Labels:
      None
    • Sprint:
      Leap 37

      Description

      If you push a docker image with build properties to one repository and then push another image with some shared layers to another repository, the layers in the new repository will be cloned from the existing layers along with all properties (build properties as well).
      This causes the build info to show layers from the wrong repository and will also prevent deletion of the image if the user deleting it has permissions only to one repository.
      This happens due to the fix in https://www.jfrog.com/jira/browse/RTFACT-9950

      Steps to reproduce:
      1. Docker push artifactory:6.8.3 to docker-local-1
      2. Manually add recursive build properties to the layers (build.name, build.number)
      3. Docker push artifactory:6.8.4 to docker-local-2
      4. See that the new image's layers contain the build properties from the layers in docker-local-1

        Attachments

          Activity

            People

            Assignee:
            rotemk Rotem Kfir
            Reporter:
            itamarb Itamar Berman-Eshel
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: