Apparently nix build does not output the store path to stdout
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7726ff0df6
commit
a45c9c7858
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ steps:
|
||||||
- |
|
- |
|
||||||
echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json
|
echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json
|
||||||
- nix-env -iA nixpkgs.skopeo
|
- nix-env -iA nixpkgs.skopeo
|
||||||
- $(nix build '.#buildImage') | gzip --fast | skopeo copy --dest-creds=gitea-bot:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nix-containers:buildImage --dest-compress-format zstd --dest-compress-level 12
|
- nix build '.#buildImage'
|
||||||
|
- ./result | gzip --fast | skopeo copy --dest-creds=gitea-bot:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nix-containers:buildImage --dest-compress-format zstd --dest-compress-level 12
|
||||||
environment:
|
environment:
|
||||||
GITEA_KEY:
|
GITEA_KEY:
|
||||||
from_secret: GITEA_KEY
|
from_secret: GITEA_KEY
|
||||||
|
|
Loading…
Reference in a new issue