From 309b975ba13862084ac42eae3c07bbdaa5a78b23 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 9 Dec 2022 20:42:12 +0800 Subject: [PATCH] nerdctl --- jenkinsfile_poms_web | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkinsfile_poms_web b/jenkinsfile_poms_web index d292fba..b74c3b9 100644 --- a/jenkinsfile_poms_web +++ b/jenkinsfile_poms_web @@ -10,8 +10,8 @@ pipeline { steps { buildName "#${BUILD_NUMBER} ~/pep/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}" - sh 'docker build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ./web' - sh 'docker push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' + sh 'nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ./web' + sh 'nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' } } }