3
votes

I have an docker public image, Now for some reason we had to shift it to AWS ECR,Now I am able to transfer the image to ECR from docker hub, but how to make sure that all the stable release in dockerhub will be pushed to AWS ECR, I want my ECR repo update with latest dockerhub image all the time.

2

2 Answers

1
votes

You might consider building and publishing your Docker image through GitHub and its CI (Continuous Integration) GitHub Actions option.

That way, you can, in your GitHub workflow, chain:

Each time you are publishing a new version of your image, it would also be available in ECR.

0
votes

Using Docker Registry Sync tool, Dregsy -> https://github.com/xelalexv/dregsy