Support specifying local-only in fly.toml

I have a Docker image already built locally and was trying to deploy it to Fly. I got it working with flyctl deploy --local-only --image 'myimage', but it would be nice to specify it all in the config file like

[build]
  image = "myimage"
  local_only = true

Would it be possible to support this?

EDIT: It would also be nice for docs and/or cli help showed that --local-mode can also be used for specifying a local image.

Related to: Deploy locally built image

4 Likes