try different cache config syntax

This commit is contained in:
Cyryl Płotnicki 2022-11-08 19:56:34 +00:00
parent 1808054fd6
commit 620d4325bf

View file

@ -1,10 +1,9 @@
pipeline:
restore-cache:
restore-cache:
image: drillster/drone-volume-cache
settings:
restore: true
mount:
- /nix/store
restore: true
mount:
- /nix/store
volumes:
- /var/lib/woodpecker/cache:/cache
@ -15,12 +14,10 @@ pipeline:
- nix --no-sandbox flake info
- nix --no-sandbox develop -c statix check
save-cache:
rebuild-cache:
image: drillster/drone-volume-cache
pull: true
settings:
rebuild: true
mount:
- /nix/store
rebuild: true
mount:
- /nix/store
volumes:
- /var/lib/woodpecker/cache:/cache