diff --git a/.woodpecker.yml b/.woodpecker.yml index 85437175..fff157a0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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