Compare commits

..

2 commits

Author SHA1 Message Date
26bac0b55b
build push-container into image
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-15 23:07:16 -05:00
0a71dd39a3
update container image 2023-04-15 22:34:17 -05:00
2 changed files with 20 additions and 10 deletions

View file

@ -4,7 +4,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: docker.io/jcollie/nixos-runner:13-daa4f8d9
container: docker.io/jcollie/nixos-runner:14-9b8a7bca
steps:
- run: ldd /__e/node16/bin/node
- uses: actions/checkout@v3

View file

@ -39,6 +39,8 @@
pkgs.nushell
pkgs.podman
pkgs.stdenv.cc.cc.lib
self.packages.${system}.push-container
];
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 = {
push-container =
let
script = pkgs.writeTextFile
{
script = pkgs.writeTextFile {
name = "push-container";
text = lib.concatStringsSep "\n" [
"#!${pkgs.nushell}/bin/nu"