title: In Azure DevOps, my ECR push image task fails after a few tries with no insight
body: <pre><code>- task: Docker@2
    displayName: Build an image
    inputs:
      command: build
      repository: weather-update-project
      dockerfile: '**/Dockerfile'
      buildContext: '$(Build.SourcesDirectory)'
      tags: 'latest'
  
  - task: ECRPushImage@1
    inputs:
      awsCredentials: 'weather'
      regionName: us-west-2
      imageSource: 'imagename'
      sourceImageName: 'weather-update-project'
      sourceImageTag: 'latest'
      pushTag: 'latest'
      repositoryName: 'weather-update-project'
  </code></pre>
  <p>I'm building an image and then trying to push that image to ECR. When it gets to the ECR push image task, it tries to push a few times and then gives me the error &quot;The process '/usr/bin/docker' failed with exit code 1&quot; and that's it. There's no other information in my logs in regards to the error like there normally is. What is possibly happening? My ECR is public and all of my credentials are correct. Here's my YAML code for the docker build and ecrpushimage tasks in Azure DevOps</p>
  <p>My Repository name that contains my dockerfile is 'weather-update-project' and my ECR repository also has the name 'weather-update-project'</p>