Howdy - I'm having a tough time getting Prefect (3...
# ask-community
m
Howdy - I'm having a tough time getting Prefect (3) to push my docker image to ECR. I'm wondering if there's a best practice for storing ECR credentials (I'm trying to use a Prefect docker registry credentials block) and then having them referenced appropriately for pushing the image to the ECR repo using
.deploy(image=f"{ecr_repo}/imagename:imagetag", push=True)
.
b
Howdy! If the environment you're deploying from is already authenticated to the registry you're pushing to, you don't need to use a credentials block.