Tomas Moreno
01/15/2025, 6:36 PMprefect deploy
command in prefect 2? the build steps are setup to use the commit hash, so I'd like to skip the build step on the second prefect.yaml and use the same image from the initial one if possibleMarvin
01/15/2025, 6:37 PMprefect.yaml
files in a single prefect deploy
command. However, you can manage multiple deployments within a single prefect.yaml
file by declaring multiple deployment configurations. This allows you to control and deploy different configurations for the same flow from a single file.
To skip the build step for a particular deployment while reusing the image from the initial one, you can manually adjust the deployment configurations in your prefect.yaml
file. Ensure that the image is specified in a way that it can be reused, possibly by setting it as a variable or block reference.
For more details, you can refer to the Prefect deployment guide.