张 巡 1 year ago
parent
commit
98944f65cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      deploy/Jenkinsfile

+ 2 - 2
deploy/Jenkinsfile

@@ -22,8 +22,8 @@ pipeline {
           sh "sed '/^http/c'$url1'' -i  packages/yili-dag/src/request.ts"
           sh "sed '/^http/c'$url1'' -i  packages/jldbq-extenison/src/api/config.ts"
           sh "sed '/^http/c'$url1'' -i  packages/filebrowser/src/api/config.ts"
-          sh 'docker build -f Dockerfile.idc --target jupyter0 -t ${IMAGE_REPO}/jupyterlab0:${ENV_APP} --output type=docker .'
-          sh 'docker build -f Dockerfile.idc --target image-idctest -t ${IMAGE_REPO}/jupyterlab:${ENV_APP}  --output type=docker .'
+          sh 'docker build -f Dockerfile.idc --target ${ENV_TARGET0} -t ${IMAGE_REPO}/jupyterlab0:${ENV_APP} --output type=docker .'
+          sh 'docker build -f Dockerfile.idc --target ${ENV_TARGET} -t ${IMAGE_REPO}/jupyterlab:${ENV_APP}  --output type=docker .'
           echo "build success"
         }
         script {