Update Jenkinsfile

Signed-off-by: prankumargrid <prankumar@griddynamics.com>
This commit is contained in:
prankumargrid 2025-04-25 12:51:04 +05:30 committed by GitHub
parent cab11b2f60
commit e0b343eb1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
Jenkinsfile vendored
View file

@ -43,7 +43,7 @@ pipeline{
steps{ steps{
script{ script{
def ImageTag = env.BRANCH_NAME == 'main' ? 'latest' : GIT_COMMIT_SHORT def ImageTag = env.BRANCH_NAME == 'main' ? 'latest' : GIT_COMMIT_SHORT
sh "docker build -t $REGISTRY_URL/${IMAGE_NAME}:${imageTag} ." sh "docker build -t $REGISTRY_URL/$IMAGE_NAME:$imageTag ."
} }
} }
} }