This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      I would like to have an option to overwrite the imageName with regards to repository.
      So I could do:

      def image = docker.build("registry1.com/company/project:1")
      image.push()
      image.push("registry2.com/company/project:latest")

      Current workaround would be (without building):

      sh "docker tag -f registry1.com/compoany/project:1 registry2.com/company/project:latest"
      sh "docker push registry2.com/company/project:latest"

            Assignee:
            Jesse Glick
            Reporter:
            hakamairi
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: