mirror of
https://github.com/pfzetto/rebacs
synced 2024-11-22 11:12:49 +01:00
global nix store
This commit is contained in:
parent
666544c355
commit
328d5661b4
1 changed files with 6 additions and 0 deletions
|
@ -9,9 +9,13 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: create_image
|
- name: create_image
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
|
volumes:
|
||||||
|
- name: nixstore
|
||||||
|
path: /nix
|
||||||
commands:
|
commands:
|
||||||
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes --cores 0 --max-jobs auto .#dockerImage
|
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes --cores 0 --max-jobs auto .#dockerImage
|
||||||
- cp result rebacs.tar.gz
|
- cp result rebacs.tar.gz
|
||||||
|
|
||||||
- name: upload_image
|
- name: upload_image
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
environment:
|
environment:
|
||||||
|
@ -37,3 +41,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
temp: {}
|
temp: {}
|
||||||
|
- name: nixstore
|
||||||
|
path: /var/lib/nix-ci-cache
|
||||||
|
|
Loading…
Reference in a new issue