|
|
|
@ -21,9 +21,9 @@ pipeline { |
|
|
|
|
} |
|
|
|
|
stage('构建镜像') { |
|
|
|
|
steps { |
|
|
|
|
sh "docker build -t 192.168.96.141/library/ruoyi-nginx cloud/ruoyi-nginx" |
|
|
|
|
sh "docker build -t 192.168.96.141/library/ruoyi-nginx:${tag} cloud/ruoyi-nginx" |
|
|
|
|
echo "构建镜像完成" |
|
|
|
|
sh "docker build -t 192.168.96.141/library/ruoyi-java cloud/ruoyi-java" |
|
|
|
|
sh "docker build -t 192.168.96.141/library/ruoyi-java:${tag} cloud/ruoyi-java" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
stage('推送镜像') { |
|
|
|
|