Browse Source

nerdctl

master
周沫沫历险记 2 years ago
parent
commit
309b975ba1
  1. 4
      jenkinsfile_poms_web

4
jenkinsfile_poms_web

@ -10,8 +10,8 @@ pipeline {
steps {
buildName "#${BUILD_NUMBER} ~/pep/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}"
sh 'docker build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ./web'
sh 'docker push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}'
sh 'nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ./web'
sh 'nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}'
}
}
}

Loading…
Cancel
Save