-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
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"