Browse Source

nerdctl push harbor.anxinyun.cn

master
wenlele 2 years ago
parent
commit
64703aadd9
  1. 2
      jenkinsfile_web

2
jenkinsfile_web

@ -11,7 +11,7 @@ pipeline {
buildName "#${BUILD_NUMBER} ~/iot/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}"
sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION} ./code/web'
sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}'
sh 'nerdctl push harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}'
}
}
}

Loading…
Cancel
Save