==> Verifying app config Validating /Users/philip/projects/.../fly.toml ✓ Configuration is valid --> Verified app config ==> Building image Searching for image 'registry.fly.io/tldl-workers' remotely... Error: failed to fetch an image or build from source: image must be amd64 architecture for linux os, found arm64 linux
Now, I did try building and pushing an image directly to fly.io from my Mac (knowing it won’t really run). So I am stuck now?
From what I can see, there is no way to specify what platform to use when running the fly build command, so I would reccomend building the image first using the docker build --platform=linux/amd64 command, then pushing it to fly registry, and then deploying the app.