Push plugins/docker images to ecr

Im trying to push to AWS ECR from plugins/docker.
originally i was happy with using just plugins/ecr.
But as my builds get more complicated i have to use plugins/docker.
I read this about the AWS repository.
http://discuss.harness.io/t/drone-1-0-and-aws-ecr-going-forward/3071/10

Do i have to do this? I would rather just store my AWS credentials in secrets.

Im trying to push to AWS ECR from plugins/docker.
originally i was happy with using just plugins/ecr.
But as my builds get more complicated i have to use plugins/docker.

the ECR plugin is built on top of the Docker plugin and exposes all the same features and settings. It is not clear why one would have to change from the ECR plugin to the Docker plugin.

Do i have to do this? I would rather just store my AWS credentials in secrets.

nope, this plugin is only used when you are using an image in your pipeline (e.g. in the image: attribute) and you need to pull from a private ECR registry. This is only used to pull images, not push.