save cache

This commit is contained in:
Cyryl Płotnicki 2022-11-08 19:45:57 +00:00
parent 4a72ff40a0
commit 828f8c3495

View file

@ -6,7 +6,7 @@ pipeline:
mount:
- /nix/store
volumes:
- /var/lib/woodpecker/cache/nixstore:/cache
- /var/lib/woodpecker/cache:/cache
check:
image: nixpkgs/nix-flakes:latest
@ -15,3 +15,12 @@ pipeline:
- nix --no-sandbox flake info
- nix --no-sandbox develop -c statix check
save-cache:
image: drillster/drone-volume-cache
pull: true
settings:
rebuild: true
mount:
- /nix/store
volumes:
- /var/lib/woodpecker/cache:/cache