Skip to content

Commit

Permalink
fixed image name injection
Browse files Browse the repository at this point in the history
  • Loading branch information
TareqK committed Apr 2, 2022
1 parent 2aec270 commit fae34e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node('master'){
def scmVars = checkout scm
def imageTag = env.TAG_NAME
if(imageTag != null){
if(imageTag == null){
imageTag = "latest"
}
withDockerRegistry(credentialsId: 'dc94d276-bbcb-490a-8586-8322dbf729dd') {
Expand Down

0 comments on commit fae34e8

Please sign in to comment.