feat: 增加 8.2 镜像

This commit is contained in:
李东云
2023-07-03 11:04:59 +08:00
parent 6fb2e43c1e
commit ad36100507
4 changed files with 12 additions and 12 deletions

16
Jenkinsfile vendored
View File

@@ -1,13 +1,6 @@
pipeline {
agent any
stages {
stage('Build 7.3-swoole') {
steps {
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
sh 'docker build -t harbor.luxcreo.cn/library/hyperf:7.3-swoole -f swoole/7.3/Dockerfile .'
sh 'docker push harbor.luxcreo.cn/library/hyperf:7.3-swoole'
}
}
stage('Build 7.4-swoole') {
steps {
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
@@ -29,9 +22,16 @@ pipeline {
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.1-swoole'
}
}
stage('Build 8.2-swoole') {
steps {
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
sh 'docker build -t harbor.luxcreo.cn/library/hyperf:8.2-swoole -f swoole/8.2/Dockerfile .'
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.2-swoole'
}
}
stage('Build Latest') {
steps {
sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.1-swoole harbor.luxcreo.cn/library/hyperf:latest'
sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.2-swoole harbor.luxcreo.cn/library/hyperf:latest'
sh 'docker push harbor.luxcreo.cn/library/hyperf:latest'
}
}