Hello, Has anyone had any success/attempted to Bu...
# prefect-gcp
j
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
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
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 😄
1