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