From 9b262d3511c126403e895e628e94b7bd5f9aca7a Mon Sep 17 00:00:00 2001 From: Milan Petrovic <5rovicmilan8@gmail.com> Date: Wed, 11 Jun 2025 14:08:39 +0200 Subject: [PATCH] fixed typo here too --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 86d678983..b956d5529 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,10 +28,10 @@ pipeline { script { def branch = env.BRANCH_NAME def dockerRepo = (branch == 'main') ? 'main' : 'mr' - def imageTag = "${DOCKER_HUB_USER}/${repo}:${GIT_COMMIT_SHORT}" + def imageTag = "${DOCKER_HUB_USER}/${dockerRepo}:${GIT_COMMIT_SHORT}" withCredentials([usernamePassword( - credentialsId: DOCKERHUB_CREDES, + credentialsId: DOCKERHUB_CREDS, usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS' )]) {