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

Redistributing a docker package with different paths in Artifactory/Bintray will result in a duplicate package.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 5.9.6
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      Setting a pathFilter and package in the distribution repository rules will result in two different paths under the distribution repository after redistribution.

      Reproduction steps:
      1.create repositories docker-dist (distribution), docker-local (local), registry (in bintray)
      2. in docker-dist, set the following rule:
      Path Filter:

      mysql/(.*)/(.*)

      Package: ${path:1}

      push docker image to:
      docker-local/mysql/latest/manifest.json

      Select distribute -> path will show:
      docker-dist/registry/mysql/latest/manifest.json

      Select redistribute -> now will show:
      docker-dist/registry/latest/latest/manifest.json (Bintray URL https://bintray.com/<ORG>/registry/latest - correct)
      and
      docker-dist/registry/mysql/latest/manifest.json (Bintray URL https://bintray.com/<ORG>/registry/mysql - wrong)

      This is likely due to Artifactory using the path from docker-local originally, then after it publishes to Bintray, redistribution will set it Bintrays path instead.

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              loreny Loren Yeung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-16515 -
                  SYNCHRONIZED
                  • Last Sync Date: