diff --git a/jenkinsfile_web b/jenkinsfile_web index 8840491..1e2ea1b 100644 --- a/jenkinsfile_web +++ b/jenkinsfile_web @@ -8,10 +8,10 @@ pipeline { stages { stage('巡检 web ......') { steps { - buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" - buildDescription "harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./web' - sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' + buildName "#${BUILD_NUMBER} ~/smart-city/${JOB_NAME}:${IMAGE_VERSION}" + buildDescription "registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION} ./web' + sh 'nerdctl push registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}' } } }