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