I'm using prefect-docker for my deployments. I'm n...
# ask-community
m
I'm using prefect-docker for my deployments. I'm noticing that for each deployment I have defined in my prefect.yaml, the deployment does its own docker build and push to my image repo. It seems like the image should only need to be built once and pushed once for all my deployments, no? Is this the expected behavior?
j
Hi Mark! Do you mind sharing some of your prefect.yaml? namely i’m wondering where you are defining your build/push steps? at the
root
level of the file or individually at the deployment level
m
I'm defining the build/push steps at the root level
I will share the prefect.yaml shortly
prefect.yaml
to deploy the flows, I've been using this command:
Copy code
prefect --no-prompt deploy --all
j
ah ok, it seems like this is expected behavior - we’ve opened a ticket here to track!
m
thanks, Jamie!
P 1