From 19a74b15d5ffc570dcea3edae11932b9db1a7855 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 25 Mar 2026 12:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=E4=BF=AE=E6=94=B9Do?= =?UTF-8?q?ckerfile-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline-dev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline-dev b/pipeline-dev index 12c4441..7218e1d 100644 --- a/pipeline-dev +++ b/pipeline-dev @@ -16,6 +16,7 @@ pipeline { K8S_NAMESPACE = "azizi" K8S_DEPLOYMENT = "console-page" K8S_APP_LABEL = "console-page" + DOCKER_FILE = "Dockerfile-dev" } stages { @@ -39,7 +40,7 @@ pipeline { )]) { sh 'echo $ALIYUN_PASS | docker login --username $ALIYUN_USER --password-stdin registry.cn-hangzhou.aliyuncs.com' } - sh "docker build -t ${IMAGE_REP_TAG} ." + sh "docker build -f ${DOCKER_FILE} -t ${IMAGE_REP_TAG} ." } } stage('Upload image') {