Preferred plugin for docker publish


Which is the preferred plugin to publish a docker image to ECR?

  1. plugins/docker
  2. plugins/ecr

Which is active & planned to be maintained? Or plugins/docker is only meant for dockerhub?

plugins/ecr is the official, maintained plugin for publishing to ecr. You cannot use plugins/docker to publish to ecr because ecr uses non-standard authorization credentials for login, which is not supported by the docker plugin.

1 Like

Please note, plugin/ecr doesn’t support Assume role and AWS Security Token Service (AWS STS, Temporary Security Credentials), there are some workaround you need to deal with.

Thank you. You can close the issue