From 84cbc869800d108d456e6a12eb5db634369f9d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=8E=89?= Date: Thu, 15 Dec 2022 08:42:28 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker修改为nerdctl --- jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index c191b2a..0a98e57 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -10,8 +10,8 @@ pipeline { steps { buildName "#${BUILD_NUMBER} ~/devops/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/devops/${JOB_NAME}:${IMAGE_VERSION}" - sh 'docker build -t harbor.anxinyun.cn/devops/${JOB_NAME}:${IMAGE_VERSION} ./web' - sh 'docker push harbor.anxinyun.cn/devops/${JOB_NAME}:${IMAGE_VERSION}' + sh 'nerdctl build -t harbor.anxinyun.cn/devops/${JOB_NAME}:${IMAGE_VERSION} ./web' + sh 'nerdctl push harbor.anxinyun.cn/devops/${JOB_NAME}:${IMAGE_VERSION}' } } }