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.