global nix store

This commit is contained in:
Paul Zinselmeyer 2023-09-05 17:30:45 +02:00
parent 666544c355
commit 328d5661b4

View file

@ -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