Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when chaining ecr-push with ecs-deploy

Mikael Landau April 17, 2020

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"

 

1 answer

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2020

@Mikael Landau ,

Please provide more info like your task definition. Also you can look the template of proper task definition here Botocore docs and AWS ECS Docs . There you can find specification for your image, if to be specific, here https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-image .

Contact us in the case of more questions.

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events