I'm trying out projects to manage prefect deployme...
# ask-community
g
I'm trying out projects to manage prefect deployments. I tried using the docker-git recipe to initialize my project and then also set up an image to be built and pushed to a private registry with authentication with a docker-registry-credentials block; however, when I run the deployment, I get
Copy code
"docker.errors.APIError: 500 Server Error for <http+docker://localhost/v1.43/images/create?tag=develop&fromImage>: ...... hiding this part of the URL..... : Internal Server Error ("Head "<https://hidingregistryurl/prefect/prefect-project/job1/manifests/develop>": denied: access forbidden".
How do I provide to my deployment an image pull secret? This is how my deployment is configured at the moment:
Copy code
deployments:
- name: job1
  entrypoint: ./job1/flow.py:test_flow
  work_pool:
    name: example-project
    job_variables:
      image: '{{ image_name }}'