pipeline { stages { stage('Build 8.0-swoole') { agent { docker { image 'plugins/docker' } } steps { sh 'docker login harbor.luxcreo.cn -u ' 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' } } } }