Hi, I’m trying out fly machines with a node Docker image. Namely I’m running the curl script from the tutorial:
curl -i -X POST \
-H "Authorization: Bearer ${FLY_API_TOKEN}" -H "Content-Type: application/json" \
"http://${FLY_API_HOSTNAME}/v1/apps/rciel/machines" \
-d '{
"name": "odoacer-machine",
"config": {
"image": "registry.fly.io/rciel",
"env": {
"APP_ENV": "production"
},
"services": [
{
"ports": [
{
"port": 443,
"handlers": [
"tls",
"http"
]
},
{
"port": 80,
"handlers": [
"http"
]
}
],
"protocol": "tcp",
"internal_port": 8080
}
]
}
}'
I received an error that my image is arm64 linux instead of amd64 linux, so I rebuilt my image with buildx for amd64 linux. I verified this using docker image inspect
:
"Architecture": "amd64",
"Os": "linux",
I’ve pushed to the registry, but I still get the same error message. Is there any way to validate that I’ve indeed pushed a new version to the registry? Or to figure out why the API is still flagging my image as arm64 and not amd64?