fixed typo in repo variable

This commit is contained in:
Milan Petrovic 2025-06-11 14:05:07 +02:00
parent 59743758cd
commit 0735d09dfb

2
Jenkinsfile vendored
View file

@ -28,7 +28,7 @@ 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,