Ver Fonte

Debug-1

tsurumure há 1 ano atrás
pai
commit
aad08b0aa9
1 ficheiros alterados com 11 adições e 11 exclusões
  1. 11 11
      .drone.yml

+ 11 - 11
.drone.yml

@@ -70,17 +70,17 @@ steps:
         - sudo echo "Docker App started."
 
 
-#  # 清除冗余镜像
-#  - name: cleanup
-#    image: docker:dind
-#    volumes:
-#      - name: docker-sock
-#        path: /var/run/docker.sock
-#    when:
-#      status: [ success ]
-#    commands:
-#      # 删除1小时前创建的未使用镜像
-#      - docker image prune -f --filter "until=1h"
+  # 清除冗余镜像
+  - name: cleanup
+    image: docker:dind
+    volumes:
+      - name: docker-sock
+        path: /var/run/docker.sock
+    when:
+      status: [ success ]
+    commands:
+      # 删除1小时前创建的未使用镜像
+      - docker image prune -f --filter "until=1h"