Files
404-page/deploy.nix
Nikkuss a63c87b2f8
Some checks failed
build-server / build (push) Failing after 54s
init
2025-09-05 21:52:36 +00:00

12 lines
294 B
Nix

{ 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
'';
}