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

Deploy of newly tagged multiarch manifest not permitted when redeploy is disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.25.0
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
    • Notability:
      3

      Description

      Attempting to deploy a newly tagged fat/multiarch manifest fails against a Docker repository that has redeploy disabled.

      To reproduce:

      1. Using the "docker manifest" command build and push a multiarch image to a Docker hosted repo that has redeploy disabled (for details on how to build and push a multiarch image see the "The hard way with docker manifest"
      section of https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/)

      2. Rebuild the manifest with a new tag and push to the Docker repo  e.g. 

      docker manifest create \
      docker-hosted-repo/multiarch-example:new-tag \
      --amend docker-hosted-repo/multiarch-example:manifest-amd64 \
      --amend docker-hosted-repo/multiarch-example:manifest-arm32v7 \
      --amend docker-hosted-repo/multiarch-example:manifest-arm64v8
      
      docker manifest push docker-hosted-repo/multiarch-example:new-tag

      Expected:

      Newly tagged manifest is successfully pushed similar to how retagging and repushing an existing image is permitted when redeploy is disabled.

      Actual:

      Push fails with a "400 - Repository does not allow updating assets: docker-hosted-repo" and "blob upload invalid: blob upload invalid" response on the Docker client side.

      Workaround:

      Allow redeploy on the Docker hosted repo.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hardeepn Hardeep Nagra
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title