From 1242687824caffae2ea481f29973fda9771f538f Mon Sep 17 00:00:00 2001 From: TomPGrid Date: Fri, 28 Feb 2025 14:13:13 +0100 Subject: [PATCH] add build image main stage --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2339b4938..e503eef81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -63,9 +63,9 @@ pipeline { } steps { script { - def docker_image=docker.build("main:8084/spring-petclinic:$GIT_COMMIT") - sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" main:8084' - docker.withRegistry('http://main:8084') { + def docker_image=docker.build("main:8085/spring-petclinic:$GIT_COMMIT") + sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" main:8085' + docker.withRegistry('http://main:8085') { docker_image.push() } }