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}' } } }