Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-25626

Docker redeploy on the latest tag fails when more than one tag exists for the image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.21.0, 3.28.1
    • Fix Version/s: 3.30.0
    • Component/s: Docker
    • Labels:
    • Notability:
      3

      Description

      Using a docker hosted repository with deployment policy "Disable redeploy" and the checkbox to Allow redeploy only on 'latest' tag, redeploy fails if the image exists with another tag.

      Steps:
      1. Deploy the image to the repo with latest tag
      2. Verify that redeploying with latest tag works
      3. Deploy the image again with tag test
      4. Create a new latest tag based on the image with tag test
      5. Redeploy with latest tag fails

      Expected redeploy with latest tag to work.

        Attachments

        1. docker.tar
          5 kB
        2. Docker-hosted_Browse.png
          Docker-hosted_Browse.png
          160 kB
        3. DockerLatestJenkinsJob.txt
          13 kB
        4. image-2020-12-30-18-45-01-785.png
          image-2020-12-30-18-45-01-785.png
          263 kB
        5. image-2020-12-30-18-46-16-346.png
          image-2020-12-30-18-46-16-346.png
          42 kB
        6. image-2020-12-30-18-50-24-719.png
          image-2020-12-30-18-50-24-719.png
          200 kB
        7. image-2020-12-30-18-50-46-002.png
          image-2020-12-30-18-50-46-002.png
          51 kB
        8. Podman_pull.png
          Podman_pull.png
          146 kB
        9. podman.tar
          5 kB

          Issue Links

            Activity

              People

              Assignee:
              aornatovskyy Anatoliy Ornatovskyy
              Reporter:
              cseney Cassandra Seney
              CC:
              John Doyle
              Last Updated By:
              Joe Tom Joe Tom
              Team:
              NXRM - Trinity
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title