build push-container into image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2023-04-15 23:07:16 -05:00
parent 0a71dd39a3
commit 26bac0b55b
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -39,6 +39,8 @@
pkgs.nushell pkgs.nushell
pkgs.podman pkgs.podman
pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc.lib
self.packages.${system}.push-container
]; ];
flake-registry = null; flake-registry = null;
@ -365,12 +367,20 @@
]; ];
}; };
}; };
push-container = pkgs.writeTextFile {
name = "push-container";
destination = "/bin/push-container";
text = lib.concatStringsSep "\n" [
"#!${pkgs.nushell}/bin/nu"
(builtins.readFile ./push-container.nu)
];
executable = true;
};
}; };
apps = { apps = {
push-container = push-container =
let let
script = pkgs.writeTextFile script = pkgs.writeTextFile {
{
name = "push-container"; name = "push-container";
text = lib.concatStringsSep "\n" [ text = lib.concatStringsSep "\n" [
"#!${pkgs.nushell}/bin/nu" "#!${pkgs.nushell}/bin/nu"