fixed typo here too

This commit is contained in:
Milan Petrovic 2025-06-11 14:08:39 +02:00
parent 271de8f395
commit 9b262d3511

4
Jenkinsfile vendored
View file

@ -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'
)]) {