Daniel Saxton
05/21/2022, 4:04 PMemre
05/21/2022, 4:22 PMdocker tag
is fixed and cannot be changed. To have your flow use a recently built docker image, you have two options:
1. Re-register your flow with the docker tag
of your newly built image
2. Maintain a docker tag
like latest
, that always points to the most recently built image, and register your prefect flow with the tag latest
. This way you ensure that the docker agent looks for the most recent image version, without modifying your flow versions at all.
I never needed such a use case, but I would prefer option 2. That way docker image versions and flow versions stay decoupled.Daniel Saxton
05/21/2022, 4:33 PMrun_config
of the flow: https://docs.prefect.io/orchestration/flow_config/run_configs.html#dockerrun, right?Anna Geller
05/21/2022, 4:38 PM