diff --git a/.drone.yml b/.drone.yml index c469600..8235caa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,9 @@ steps: - name: buildImage image: git.chir.rs/darkkirb/nixos-containers:buildimage commands: + - mkdir /tmp - nix build '.#buildImage' - - cat reuslt | skopeo copy --dest-creds=darkkirb:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nixos-containers:buildImage --dest-compress-format gzip --dest-compress-level 9 + - cat result | skopeo copy --dest-creds=darkkirb:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nixos-containers:buildImage --dest-compress-format gzip --dest-compress-level 9 environment: GITEA_KEY: from_secret: DOCKER_KEY diff --git a/flake.nix b/flake.nix index 9191e8d..08fd8ac 100644 --- a/flake.nix +++ b/flake.nix @@ -41,8 +41,9 @@ echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf mkdir /etc/containers echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json - mkdir -p /nix/inputs - ln ${nixpkgs} /nix/inputs/nixpkgs + mkdir -p /etc/nix/inputs + mkdir /tmp + ln ${nixpkgs} /etc/nix/inputs/nixpkgs ''; }; };