init
Some checks failed
build-server / build (push) Failing after 54s

This commit is contained in:
2025-09-05 21:52:36 +00:00
commit a63c87b2f8
10 changed files with 1043 additions and 0 deletions

11
deploy.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs, app-docker }:
pkgs.writeShellApplication {
name = "build-script";
text = ''
image=$1
tags=("''${@:2}")
for tag in "''${tags[@]}"; do
${pkgs.skopeo}/bin/skopeo --tmpdir . --insecure-policy copy docker-archive://${app-docker} "docker://$image:$tag"
done
'';
}