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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: docker.io/jcollie/nixos-runner:13-daa4f8d9 container: docker.io/jcollie/nixos-runner:14-9b8a7bca
steps: steps:
- run: ldd /__e/node16/bin/node - run: ldd /__e/node16/bin/node
- uses: actions/checkout@v3 - uses: actions/checkout@v3

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"