Hi there. Could someone help me understand why a f...
# ask-community
p
Hi there. Could someone help me understand why a flow (using Docker storage) is registered with a new version every time I run
prefect register
even though the code has not changed? The only thing I see that could change is the Docker tag which I am not setting explicitly. Would this cause it to increment the version number? Docker build log in thread.
Untitled.txt
k
This happens most frequently when you have something like a parameter with
datetime.datetime.now()
or schedule that gets evaluated differently and changes the metadata
p
I found the reason. It was the lack of a stable
image_tag
on Docker storage. I was using the default tag. What are some best practices around setting a stable tag?