diff --git a/.drone.yml b/.drone.yml index b59b6e9c4..b2717ee0e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,8 +51,12 @@ pipeline: status: [ failure, success ] cleanup: + image: docker commands: - docker system prune -f + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /var/lib/docker:/var/lib/docker when: status: failure \ No newline at end of file