From 509219aeb374a9754eadecc296f2f816c334ae52 Mon Sep 17 00:00:00 2001 From: emily Date: Tue, 3 Sep 2024 14:59:50 +0200 Subject: [PATCH] build-worker-oci: Fix update.sh --- pkgs/build-worker-oci/update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/build-worker-oci/update.sh b/pkgs/build-worker-oci/update.sh index ff66ba2..8661b14 100755 --- a/pkgs/build-worker-oci/update.sh +++ b/pkgs/build-worker-oci/update.sh @@ -21,3 +21,12 @@ cat > ./pkgs/build-worker-oci/source.nix << EOF dockerTools.pullImage ${IMAGE} EOF + +nix build .\#packages.x86_64-linux.build-worker-oci + +skopeo --insecure-policy copy docker-archive:"result" \ + docker://registry.fly.io/build-worker-kyoumanet:latest --dest-creds x:"$(flyctl auth token)" --format v2s2 + +rm "result" + +fly deploy