add nix store volume
ci/woodpecker/pr/woodpecker Pipeline failed Details

pull/6/head
Patrick Cleavelin 2023-07-31 16:37:42 -05:00
parent 2930a35734
commit ab05681ebf
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,8 @@ steps:
- echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
- cp $(nix build --extra-experimental-features nix-command --extra-experimental-features flakes --print-out-paths .#docker) ./memejoin-rs.tar.gz
volumes:
- /nix/store:/nix/store
publish-image:
when:
@ -20,3 +22,4 @@ steps:
- 'docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /nix/store:/nix/store