Error failed to fetch an image or build from source: Unsupported registry: eu.gcr.io

As part of my deployment pipeline I have my CI build and push my app docker image to my own registry (that happens to be hosted in Google Container Registry). I’ve then just specified the image that I want fly to deploy, skipping the build step on Fly. This has worked fine until recently.

I’m now getting the following when deploying:

Searching for image 'eu.gcr.io/<my-gcp-project>/<image-name>:<image-tag>' remotely...
Error failed to fetch an image or build from source: Unsupported registry: eu.gcr.io

Any ideas why this is happening and why Fly no longer supports GCR registries?

Deployment is initiated using the Fly Github Action 1.1:

Run superfly/flyctl-actions@1.1
  with:
    args: deploy -c fly/fly.staging.toml -i $DOCKER_REGISTRY:$TAG
  env:
    DOCKER_REGISTRY: eu.gcr.io/<my-gcp-project>/<image-name>
    FLY_API_TOKEN: ***

This should be fixed now. We’re working on firewall rules and had a bad configuration for gcr.io.

1 Like

Many thanks. Seems to be working now

1 Like