Solution for private ECR images for build phase

I built a very simple alpine based container to handle ECR authentication for build (or any) pipeline phase:

Do you want to add it to the docs in any way?

Take a look on mine: drone-auth-ecr , it has:

  • amazon-ecr-credential-helper installed, so you needn’t install aws cli to do aws ecr get-login at all.
  • build from official image docker:17.07.0-ce-dind, it is based on alpine.

By the way, how do you make the link to show the extra detail with large picture in discourse?