Hello Folks, why doesn’t `.deploy` cannot create a deployment with build and push set to `False` ? W...
s
Hello Folks, why doesn’t
.deploy
cannot create a deployment with build and push set to
False
? When doing so, Prefect throws an error as follows -
Copy code
ValueError: Work pool 'test-pool' does not support custom Docker images. Please use a work pool with an `image` variable in its base job template.
This may be a design choice but to me it looks like a inconsistency when compared with
prefect.yaml
way of creating a deployment. I would like to understand the nuance of the design choice made and would be grateful if someone can explain this? Also, is there a way of creating a deployment for ProcessWorker using the python API by just mentioned the pull action policy?
k
you should be able to do this if you upgrade to the latest release, pointing to a process work pool and not providing an image