ci(jenkinsfile): 🐎 添加构建latest的阶段

This commit is contained in:
李东云
2022-04-24 15:10:41 +08:00
parent 9259b9881a
commit 5a6e41a542

6
Jenkinsfile vendored
View File

@@ -8,5 +8,11 @@ pipeline {
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.0-swoole' sh 'docker push harbor.luxcreo.cn/library/hyperf:8.0-swoole'
} }
} }
stage('Build Latest') {
steps {
sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.0-swoole harbor.luxcreo.cn/library/hyperf:latest'
sh 'docker push harbor.luxcreo.cn/library/hyperf:latest'
}
}
} }
} }