No basic auth credentials pushing to ECR


I’m trying to push my build out to AWS ECR. Here’s the relevant parts of my config:

  - setup_remote_docker
  - run:
      name: Push application Docker image
      command: |
        login="$(aws ecr get-login --region us-east-1 --no-include-email)"
        docker build -t .
        docker push

AWS credentials all set up via environment variables, but the builds are failing with no basic auth credentials. What am I missing here?


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.