1
0
Fork 0
forked from emily/nixfiles

build-worker-oci: Fix update.sh

This commit is contained in:
emily 2024-09-03 14:59:50 +02:00
parent 9193287ca8
commit 509219aeb3
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995

View file

@ -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