Azure DevOps - Build & Push Docker Image to AWS ECR Using AWS Service connection



Azure DevOps
Build & Push Docker Image to AWS ECR Using AWS Service connection
1. Create AWS ECR repository
2. Create AWS User with access to this AWS ECR repository
3. Create AWS Service Connection
4. Create Azure DevOps Build Pipeline

https://docs.aws.amazon.com/AmazonECR/latest/userguide/security_iam_id-based-policy-examples.html
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops

source

8 thoughts on “Azure DevOps – Build & Push Docker Image to AWS ECR Using AWS Service connection”
  1. Thanks! i have a doubt, what i can put in this field "Target Repository Name" on the task named Amazon ECR Push

  2. Thankyou sir it helped me….But when I try to put this variable in k8s manifest it's not picking up the buildnumber, please help me

  3. Hi @Raaviblog: quick question the aws service connection seems to be on basic auth. Anyway to make that mutual auth?

Leave a Reply

Your email address will not be published.

Captcha loading...