From 828f8c3495a23612852862cd70191a2912b10ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 8 Nov 2022 19:45:57 +0000 Subject: [PATCH] save cache --- .woodpecker.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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