luofuwen hai 3 meses
pai
achega
a0d471203d
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      .drone.yml

+ 5 - 5
.drone.yml

@@ -58,7 +58,7 @@ steps:
       - cp -v lhb-gateway/target/*.jar /context/
       - cp -rv lhb-gateway/target/lib /context/
       - cp -rv lhb-gateway/target/config /context/
-      - cp /dockerfiles/template.dockerfile /context/Dockerfile
+      - cp /dockerfiles/template-min.dockerfile /context/Dockerfile
       - sed -i 's/{ImageName}/lhb-gateway/g' /context/Dockerfile
       - echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
       - ls -alR /context
@@ -153,7 +153,7 @@ steps:
       - cp -v lhb-quartz/target/*.jar /context/
       - cp -rv lhb-quartz/target/lib /context/
       - cp -rv lhb-quartz/target/config /context/
-      - cp /dockerfiles/template.dockerfile /context/Dockerfile
+      - cp /dockerfiles/template-min.dockerfile /context/Dockerfile
       - sed -i 's/{ImageName}/lhb-quartz/g' /context/Dockerfile
       - echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
       - ls -alR /context
@@ -180,7 +180,7 @@ steps:
       - TAG=$(date +%Y%m%d%H%M%S)
       - docker build -t "harbor.kexiaoshuang.com/laihaoba/lhb-quartz:$TAG" .
       - docker push "harbor.kexiaoshuang.com/laihaoba/lhb-quartz:$TAG"
-      - docker rmi "harbor.kexiaoshuang.com/laihaoba/lhb-quartz:$TAG"
+      - docker rmi "harbor.kexiaoshuang.com/laihaobba/lhb-quartz:$TAG"
 
 trigger:
   event: [ push ]
@@ -249,7 +249,7 @@ steps:
       - cp -v lhb-system/lhb-system-biz/target/*.jar /context/
       - cp -rv lhb-system/lhb-system-biz/target/lib /context/
       - cp -rv lhb-system/lhb-system-biz/target/config /context/
-      - cp /dockerfiles/template-biz.dockerfile /context/Dockerfile
+      - cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
       - sed -i 's/{ImageName}/lhb-system/g' /context/Dockerfile
       - echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
       - echo "===== 构建上下文文件列表 ====="
@@ -347,7 +347,7 @@ steps:
       - cp -v lhb-basic/lhb-basic-biz/target/*.jar /context/
       - cp -rv lhb-basic/lhb-basic-biz/target/lib /context/
       - cp -rv lhb-basic/lhb-basic-biz/target/config /context/
-      - cp /dockerfiles/template-biz.dockerfile /context/Dockerfile
+      - cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
       - sed -i 's/{ImageName}/lhb-basic/g' /context/Dockerfile
       - echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
       - echo "===== 构建上下文文件列表 ====="