From 620d4325bfc71c90c165215c03848ced0fcebf03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 8 Nov 2022 19:56:34 +0000 Subject: [PATCH] try different cache config syntax --- .woodpecker.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index fff157a0..0f517169 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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