Does the `prefect_docker.projects.steps.build_dock...
# ask-community
g
Does the
prefect_docker.projects.steps.build_docker_image:
step support specifying the docker build platform? I see the prefect-docker package does.
a
Yes it does! That step comes from
prefect-docker
so you’ll need to make sure you’re using
0.3.0
of
prefect-docker
in order to set the platform.
g
where do I put it in the yaml?
a
You can specify the required packages for deployment steps with the
requires
keyword:
Copy code
build:
  prefect_docker.preojects.steps.build_docker_image:
     requires: prefect-docker>=0.3.0
If the machine that you’re running
prefect deploy
has
prefect-docker
already installed then you may need to uninstall
prefect-docker
before running
prefect deploy
g
cool once i bump the package it pickup the new tag in the yaml