Pushing same image to multiple docker registries

I’m using docker-ecr plugin to publish docker images.

I’ve a use case of pushing the same docker image to multiple repositories dev, staging and production. Is this achievable with the current docker plugin?.

Right now I’m using 3 steps in the pipeline to do this. Problem is it’s not pushing the same image(with exact same sha).

For something like this you could create a custom plugin that publishes to multiple registries.