diff --git a/.drone.yml b/.drone.yml index 163f4ca..aaec39a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,6 +38,18 @@ pipeline: event: [push, tag] branch: master + rebuild_cache: + image: drillster/drone-volume-cache:latest + rebuild: true + mount: + - /drone/docker + # Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable, + # so you can benefit from the caching. + # Otherwise you will have to make this repository trusted in Drone and use + # the volumes as follows. + # volumes: + # - /tmp/drone-cache:/cache + # ca_cert comes from /srv/data/registry/certs/ca.crt claircheck: # image: jmccann/drone-clair:1 @@ -56,18 +68,6 @@ pipeline: USigh6FzqEPk2jiaV3t1wNtChRWRfupTKG6CD345 -----END CERTIFICATE----- - rebuild_cache: - image: drillster/drone-volume-cache:latest - rebuild: true - mount: - - /drone/docker - # Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable, - # so you can benefit from the caching. - # Otherwise you will have to make this repository trusted in Drone and use - # the volumes as follows. - # volumes: - # - /tmp/drone-cache:/cache - notify: image: drillster/drone-email:latest from: Drone CI