File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -663,11 +663,11 @@ def call(){
663663 def CONFIG = readJSON(file : CONFIG_FILE )[' deploy' ]
664664 echo " CONFIG = ${ CONFIG} "
665665 def build_args = CONFIG [' docker' ][' build' ][' buildArgs' ]. collect{" --build-arg=${ it} " }. join(' ' )
666- docker. withRegistry( CONFIG [ ' docker ' ][ ' server ' ][ ' registry ' ], ' jenkins-nexus ' ){
667- def dockerImage = docker. build( " ${ IMAGE_NAME } : ${ DOCKER_TAG } " , " ${ build_args } . " )
668- dockerImage. push()
669- dockerImage. push(' latest' )
670- }
666+ def dockerImage = docker. build( " ${ IMAGE_NAME } : ${ DOCKER_TAG } " , " ${ build_args } . " )
667+ // docker.withRegistry(CONFIG['docker']['server']['registry'], 'jenkins-nexus'){
668+ // dockerImage.push()
669+ // dockerImage.push('latest')
670+ // }
671671 }
672672 }
673673 }
You can’t perform that action at this time.
0 commit comments