Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error when chaining ecr-push with ecs-deploy

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

@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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

113 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you