Curiously,
flyctl deploy --app <app-name> --config <config> --image <img>
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'registry.fly.io/<img>' remotely...
Error failed to fetch an image or build from source: Could not find image "registry.fly.io/<img>"
Couldn’t find a valid image for --app <app-name>
. If I define the same <app-name>
in the <config>
file, it works fine.
Similarly,
flyctl deploy --app <app-name> --config <config> --remote-only
==> Verifying app config
--> Verified app config
==> Building image
Remote builder fly-builder-<yolo> ready
==> Creating build context
--> Creating build context done
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 64.3s (0/1)
[+] Building -1.6s (18/18) FINISHED
................
................
--> Building image done
==> Pushing image to fly
--> Pushing image done
image: registry.fly.io/<img>
image size: 000 MB
==> Creating release
Error This operation requires the 'nomad' app platform. This app was created for the 'machines' platform.
Didn’t work either, as it thought (wrong) that the Fly Machine app <app-name>
was actually a regular Fly app: nomad
? that’s just lame (:
Then, there’s this issue with flyctl deploy --strategy rolling
timing out too: Error failed to wait for VM in started state: failed to wait for machine to be ready