Hello,
Has anyone had any success/attempted to Build/Push Docker Image in
prefect.yaml
to private Google Cloud Artifact Registry? I have it working through GitHub actions, but was going to move it to the
prefect.yaml
since I am moving my deployments to it.
Thanks 🙏
✅ 2
k
Kevin Grismore
12/04/2023, 8:13 PM
The key to pushing to artifact reg is that you're authed to do so in whichever env you're pushing from. In the
prefect.yaml
, the image name in the push step just needs to be the full url of your repo in artifact reg, including the actual image name. Managing auth the right way for this depends on a few things and can be tricky at times. Are you running
prefect deploy
inside the github actions workflow?
👀 1
j
Jack P
12/04/2023, 8:15 PM
oh that's easy, then I can just add prefect deploy cmd in as step in job, it's authed through gcloud auth GitHub action.
Thanks 😄
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.