Hey All, ```... # the deployments section allows...
# ask-community
a
Hey All,
Copy code
...

# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: test_flow
  entrypoint: flows/test_flow.py:test_flow
  work_pool:
    name: dimensional-etl
I added GCP push as my architecture (work pool) with above given prefect.yml. But when trying to trigger the flow run I am getting below error. Do you have any idea what's happening? Many thanks
Copy code
Failed due to a(n) InfrastructureError Flow run infrastructure exited with non-zero status code: Exited with non 0 code. (Error Code: 1). This may be caused by attempting to run an image with a misspecified platform or architecture.
Steps I took to get to this point are: 1. Add a GCP cloud run push as work pool named "dimensional-etl" 2. Create a test flow 3. Add entry in deployments section in prefect.yml file 4. Github action to deploy flows 5. Then trigger a flow run from UI Am I missing something? @Jenny
n
hi @Awaish Kumar - please try to avoid tagging specific engineers in questions unless they've already responded, please 🙂 can you say more about how you're building your
image
you've specified in your GCP push pool configuration? e.g. do you have a
Dockerfile
you're using that you could share?
a
Hi I am using a base image from docker hub and then install requirements using below part in prefect.yml file.
Copy code
pull:
- prefect.deployments.steps.git_clone:
    id: clone-step
    repository: <https://github.com/MinoGames/prefect-etl-dimensionals.git>
    branch: master
    credentials: "{{prefect.blocks.github-credentials.prefect-dimensional-repo}}"
- prefect.deployments.steps.pip_install_requirements:
    directory: "{{clone-step.directory}}"
    requirements_file: requirements.txt
    stream_output: true