save cache
This commit is contained in:
parent
4a72ff40a0
commit
828f8c3495
1 changed files with 10 additions and 1 deletions
|
@ -6,7 +6,7 @@ pipeline:
|
||||||
mount:
|
mount:
|
||||||
- /nix/store
|
- /nix/store
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/woodpecker/cache/nixstore:/cache
|
- /var/lib/woodpecker/cache:/cache
|
||||||
|
|
||||||
check:
|
check:
|
||||||
image: nixpkgs/nix-flakes:latest
|
image: nixpkgs/nix-flakes:latest
|
||||||
|
@ -15,3 +15,12 @@ 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:
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
rebuild: true
|
||||||
|
mount:
|
||||||
|
- /nix/store
|
||||||
|
volumes:
|
||||||
|
- /var/lib/woodpecker/cache:/cache
|
||||||
|
|
Loading…
Reference in a new issue