don't plop nix store files on root of CI server
parent
ab05681ebf
commit
d153d324cf
|
@ -7,7 +7,7 @@ steps:
|
||||||
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
|
- 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
|
- cp $(nix build --extra-experimental-features nix-command --extra-experimental-features flakes --print-out-paths .#docker) ./memejoin-rs.tar.gz
|
||||||
volumes:
|
volumes:
|
||||||
- /nix/store:/nix/store
|
- ${AGENT_NIX_STORE_PATH}/store:/nix/store
|
||||||
|
|
||||||
publish-image:
|
publish-image:
|
||||||
when:
|
when:
|
||||||
|
@ -22,4 +22,4 @@ steps:
|
||||||
- 'docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}'
|
- 'docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /nix/store:/nix/store
|
- ${AGENT_NIX_STORE_PATH}/store:/nix/store
|
||||||
|
|
Loading…
Reference in New Issue