Closed jimmyff closed 2 years ago
This is likely NOT a bug here, but an issue w/ platforms. Sounds like you should build using Cloud Build
. When you build locally you're building an ARM binary – then trying to deploy to x64 server.
At least that's what it appears!
I'm using functions framework (and have been for about a year), I have build scripts that I use to deploy various cloud run images. However when I run them on my apple silicon macbook they fail to deploy:
The logs show:
Before the images are deployed the script compiles and tests them. I can also run them locally and see that they do in fact startup and work as expected.
I've been back to my linux setup and confirmed that the scripts do still build and deploy correctly. The obvious discrepancy is the CPU architecture but I don't see how that should affect this?
(using Dart SDK version: 2.17.3 (stable) (Wed Jun 1 11:06:41 2022 +0200) on "macos_arm64")