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

Distribute docker image fails when same tag exist in other repo

    XMLWordPrintable

    Details

    • Severity:
      Medium

      Description

      Repro Steps:
      1. create docker-local1 repo
      2. create docker-local2 repo
      3. push docker image to both repos
      4. preform distribute to bintray
      you will see the next error:

       One or more of the artifacts that were mapped to version registry/myimage/folder/latest by rule Docker are being mapped to the same path 'myimage/folder/latest/manifest.json'.  This version will not be distributed to Bintray to allow you to recover.
      

      the reason for error:

         private AqlApiItem buildSearchManifestsQuery(RepoPath path) {
              return create().filter(
                      and(
                              //repo().equal(path.getRepoKey()), <-- missing
                              path().matches(path.getPath()),
                              and(
                                      name().equal(MANIFEST_FILENAME),
                                      depth().lessEquals(10)
                              )
                      )
              );
          }
      

      not contain the repo key,

        Attachments

          Activity

              People

              Assignee:
              uriahl Uriah Levy
              Reporter:
              Dudim Dudi Morad (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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