If I build my own docker image for use with a pref...
# ask-community
r
If I build my own docker image for use with a prefect flow in prefect cloud, my experience has been that if I run the flow, then update the docker image, then run the flow again, it does not pull the new image, but is caching the previous image and using that. Is there a way I can clear the cache? Or am I forced to specify a new docker image in the run configuration, such as with a git-hash tag on the image?
k
Hi @Ryan Baker, just checking but do you re-register the flow after updating the image?
r
Yes indeed
k
What RunConfig and Storage are you using?
Also, did you come across this thread?
r
Kubernetes run config pointing to my image and github storage
That thread seems to be about docker storage, which we aren’t using.
k
Gotcha. Will look into this.
How about this?
r
This is great thanks for pointing me to this!
👍 1