|
@@ -16,7 +16,7 @@ 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-idcprod -t ${IMAGE_REPO}/datax-admin:${ENV_APP} --output type=docker .'
|
|
|
echo "build success"
|
|
|
}
|
|
|
script {
|
|
@@ -29,7 +29,7 @@ pipeline {
|
|
|
container('docker') {
|
|
|
echo "Push Docker 镜像阶段"
|
|
|
sh'docker images'
|
|
|
- sh 'docker push ${IMAGE_REPO}/aihub-backend:sxtest '
|
|
|
+ sh 'docker push ${IMAGE_REPO}/datax-admin:${ENV_APP} '
|
|
|
echo "Push image success"
|
|
|
}
|
|
|
script {
|