[CORD-2846]
Add git branch and tags to docker image tags built imagebuilder
Change-Id: I5e28440dd662845a782ad730531b4c9893e39d87
diff --git a/Jenkinsfile.imagebuilder b/Jenkinsfile.imagebuilder
index 95c11c6..48b97fa 100644
--- a/Jenkinsfile.imagebuilder
+++ b/Jenkinsfile.imagebuilder
@@ -36,8 +36,10 @@
withDockerRegistry([credentialsId: 'docker-artifact-push-credentials']) {
for(image in ib_actions.ib_built){
- echo "Pushing image: " + image.push_name
- docker.image(image.push_name).push()
+ for(tag in image.tags){
+ echo "Pushing image: " + tag
+ docker.image(tag).push()
+ }
}
}
}