diff --git a/jenkinsfile_api b/jenkinsfile_api index ef6c939..8bbe885 100644 --- a/jenkinsfile_api +++ b/jenkinsfile_api @@ -9,9 +9,9 @@ pipeline { stage('巡检 api ......') { 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} ./api' - sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' + buildDescription "registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./api' + sh 'nerdctl push registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' } } }