title: Push docker image to ECR using cloudformation
body: <p>I am new to Devops, so please don't mind if you find this question awkward.</p>
  
  <p>As part of gitci.I have a docker file in gitlab. I am planning to create a docker image and push it to ECR and then use that image for batch processing.</p>
  
  <p>I have already completed batch processing part using existing image in ECR. But not able to create docker image n push using cloudformation.</p>
  
  <p>Please guide me. Should I use command in init.</p>
  
  <p>Thanks in advance gurus</p>