From a45c9c7858451eafab2319a0d535e36a31bd8d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 26 Jun 2022 07:19:04 +0100 Subject: [PATCH] Apparently nix build does not output the store path to stdout --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f4cc0e0..48c43ed 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,8 @@ steps: - | echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json - 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: GITEA_KEY: from_secret: GITEA_KEY