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

+ 0 - 2
deploy/Jenkinsfile

@@ -16,7 +16,6 @@ pipeline {
         container('docker') {
           echo "构建 Docker 镜像阶段"
           sh 'echo "nameserver 114.114.114.114" >> /etc/resolv.conf'
-          sh 'docker build --target image-idcprod -t ${IMAGE_REPO}/aihub-backend:sxtest --output type=docker .'
           sh 'docker build --target image-idctest  -t ${IMAGE_REPO}/aihub-backend:${ENV_APP} --output type=docker .'
           echo "build success"
         }
@@ -30,7 +29,6 @@ pipeline {
         container('docker') {
           echo "Push Docker 镜像阶段"
           sh'docker images'
-          sh 'docker push ${IMAGE_REPO}/aihub-backend:sxtest '
           sh 'docker push ${IMAGE_REPO}/aihub-backend:${ENV_APP} '
           echo "Push image success"
         }