build-worker-oci: Fix update.sh
This commit is contained in:
parent
9193287ca8
commit
509219aeb3
1 changed files with 9 additions and 0 deletions
|
@ -21,3 +21,12 @@ cat > ./pkgs/build-worker-oci/source.nix << EOF
|
||||||
|
|
||||||
dockerTools.pullImage ${IMAGE}
|
dockerTools.pullImage ${IMAGE}
|
||||||
EOF
|
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
|
||||||
|
|
Loading…
Reference in a new issue