SantanM
07/22/2024, 10:05 AM.deploy
cannot create a deployment with build and push set to False
? When doing so, Prefect throws an error as follows -
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?Kevin Grismore
07/22/2024, 10:24 AM