This message was deleted.
# aws
s
This message was deleted.
b
I'm hoping there is something I can do with the RemoteImage class, but a lot of the args aren't documented: https://www.pulumi.com/docs/reference/pkg/docker/remoteimage/#dockerfile_nodejs
So not quite sure what to do
b
I ended using a shell-script, not the most elegant, but works:
Copy code
aws ecr --profile <profile> get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${REPO_B}
docker tag ${REPO_A}/<image>:<tag> ${REPO_B}/<image>:<tag>
docker push ${REPO_A}/<image>:<tag>
f
My suggestion that doesn’t answer your question was going to be remind you that image replication exists: https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html
b
@freezing-van-87649 thank you 🙌 this accomplishes exactly what I need
🎉 1
f
awesome, glad to hear it