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

Can't push image to multiple registries

XMLWordPrintable

      If i create a job which builds an image let's say:
      image:tag

      lets say i wan't now push the image to my personal registries:
      registry:5000 and registry2:5000

      to achieve that i would now need to add
      registry:5000/image:tag in the build step to push the image to registry:5000
      and if i wan't to push it to registry2:5000 i have to create a image registry2:5000/image:tag first.

      It would be nice if there would be the option to leave the
      Registry field in the push step empty and only fill the Registry Server Addresses field.

      This would than result in a setup like this:

      Step 1: Build the image
      Result: image named image:tag

      Step 2: Push the image
      Name of the image to push (repository/image) : image
      Tag: tag
      Registry: null or empty
      Registry Server Addresses: registry:5000

      Step 3: Push the image again
      Name of the image to push (repository/image) : image
      Tag: tag
      Registry: null or empty
      Registry Server Addresses: registry2:5000

            vjuranek vjuranek
            sukram Markus .
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: