I have a C# ASP.NET Core backend with a React frontend that I deploy using a single Docker image on fly.io using registry.fly.io . I’ve already deployed my app in the past many times without issue and the app works great. Yesterday, I tried to push a newly-built image with some code changes to registry.fly.io , but I got this error: “unknown: unexpected status from HEAD request to https://registry.fly.io/v2/movie-info-flyio/manifests/dev: 400 Bad Request”. I tried many times today and yesterday to push the Docker image to the registry and I kept getting the same error. And I am making sure to “fly auth docker” beforehand.
It’s strange, because I haven’t changed anything about my app’s infrastructure, including how I build and push to registry.fly.io . Not only that, but the GitHub Actions pipeline I set up to automatically deploy to that same dev environment that also worked previously with no issue has the exact same error, so I know it’s not a local setup problem.
Any ideas what might be causing this error? It doesn’t seem to be a widespread problem or I’d see other threads here about it. But I honestly don’t know why the “docker push” command would be failing in this way.