Is there an expected latency before images can be found in the registry using flyctl deploy?
I have an application that I use for a base image used by other applications in the same org. Every time after a brand new deployment, I encounter this error, that then magically goes away after some period of time. This has been problematic with my CI/CD that I’ve created and I can’t find issues in my own workflows, because after some period of time it just starts working with no other changes.
- deploy the app that is my base image with success.
- I can see the image using fly releases command.
- deploy another app that uses that base image and it fails the query.
- try again some time later and it works.
Is that expected behavior?
This is the error with an example name for the app:
failed to run query ($appName: String!, $imageRef: String!) { app(name: $appName) { id image(ref: $imageRef) { id digest ref compressedSize: compressedSizeFull } } }: Could not find image <``registry.fly.io/myappsname:latest``>