rebuild cache right after the image was build
This commit is contained in:
parent
50ee81ae5b
commit
f15e8489f9
24
.drone.yml
24
.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 <noreply@nixaid.com>
|
||||
|
Loading…
Reference in New Issue
Block a user