tsurumure 1 年之前
父节点
当前提交
aad08b0aa9
共有 1 个文件被更改,包括 11 次插入11 次删除
  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"