Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37558

Don't push image to registry if use only cache

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Don't push image to registry if use only cache in order to avoid has multiple images images equals.

        Attachments

          Activity

          Hide
          chulkilee Chulki Lee added a comment -

          You won't have multiple copy of images, so this is not a problem. Even images are identical, it is very common to have them with different tags.

           

          If you do not want to have many tags for the identical image, then you just need to change tag format.

           

          Also note that you cannot ensure the docker image only from cache is also in the remote repository. For example, you my rerun a job which built a docker image successfully but failed for any reasons before pushing the image

          Show
          chulkilee Chulki Lee added a comment - You won't have multiple copy of images, so this is not a problem. Even images are identical, it is very common to have them with different tags.   If you do not want to have many tags for the identical image, then you just need to change tag format.   Also note that you cannot ensure the docker image only from cache is also in the remote repository. For example, you my rerun a job which built a docker image successfully but failed for any reasons before pushing the image
          Hide
          csanchez Carlos Sanchez added a comment -

          I don't see the point on doing this

          Show
          csanchez Carlos Sanchez added a comment - I don't see the point on doing this

            People

            Assignee:
            csanchez Carlos Sanchez
            Reporter:
            jommgoncalves Jorge Gonçaoves
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: