I am trying to do the following:
- Build a docker container => OK
- Push the container to ECR => OK
- Then deploy to ECS => Cryptic ERROR (✖ Not able to find XXX in your repository.)
Pipeline looks like this (Images, task, service have the same name):
- docker build -t XXX .
- pipe: atlassian/aws-ecr-push-image:1.1.2
variables:
IMAGE_NAME: "XXX"
- pipe: atlassian/aws-ecs-deploy:1.1.2
variables:
CLUSTER_NAME: "my-cluster"
SERVICE_NAME: "XXX"
TASK_DEFINITION: "XXX"