ci(jenkinsfile): 🐎 创建了构建8.0-swoole的脚本

This commit is contained in:
李东云
2022-04-24 15:04:36 +08:00
parent d4680e40fe
commit fdeaf2f32b

7
Jenkinsfile vendored
View File

@@ -1,12 +1,9 @@
pipeline {
agent any
stages {
stage('Build 8.0-swoole') {
agent {
docker { image 'plugins/docker' }
}
steps {
sh 'docker login harbor.luxcreo.cn -u '
sh 'docker login harbor.luxcreo.cn -u robot$library+jenkinsfile -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
sh 'docker build -t harbor.luxcreo.cn/library/hyperf:8.0-swoole -f swoole/8.0/Dockerfile .'
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.0-swoole'
}