From 328d5661b4e9150b5eebd3d35332ceb6235eba0f Mon Sep 17 00:00:00 2001 From: Paul Z Date: Tue, 5 Sep 2023 17:30:45 +0200 Subject: [PATCH] global nix store --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index e54a5b3..fe72d15 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,9 +9,13 @@ trigger: steps: - name: create_image image: nixos/nix + volumes: + - name: nixstore + path: /nix commands: - nix build --extra-experimental-features nix-command --extra-experimental-features flakes --cores 0 --max-jobs auto .#dockerImage - cp result rebacs.tar.gz + - name: upload_image image: docker:dind environment: @@ -37,3 +41,5 @@ services: volumes: - name: dockersock temp: {} +- name: nixstore + path: /var/lib/nix-ci-cache