Compare commits
1 Commits
bd516528d5
...
3e91bdabfd
Author | SHA1 | Date |
---|---|---|
|
3e91bdabfd |
|
@ -4,13 +4,13 @@ steps:
|
||||||
event: push
|
event: push
|
||||||
image: alpine:edge
|
image: alpine:edge
|
||||||
commands:
|
commands:
|
||||||
- echo ${{AGENT_NIX_STORE_PATH}}
|
- echo $AGENT_NIX_STORE_PATH
|
||||||
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
||||||
- echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf
|
- 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
|
- 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:
|
||||||
- ${{AGENT_NIX_STORE_PATH}}/store:/nix/store
|
- ${AGENT_NIX_STORE_PATH}/store:/nix/store
|
||||||
|
|
||||||
publish-image:
|
publish-image:
|
||||||
when:
|
when:
|
||||||
|
@ -25,4 +25,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
|
||||||
- ${{AGENT_NIX_STORE_PATH}}/store:/nix/store
|
- ${AGENT_NIX_STORE_PATH}/store:/nix/store
|
||||||
|
|
Loading…
Reference in New Issue