I keep getting the error "Not able to find task-definition.json in your repository."
This is my file structure, the task-definitions.json seems to be in the right directory:
This is my task-definitions.json:
And this is my bitbucket-pipelines.yml:
name: Build Docker Container and Deploy to ECR
- docker build -t cvs-staging:latest .
- pipe: atlassian/aws-ecr-push-image:1.4.2
name: Deploy to ECS
- pipe: atlassian/aws-ecs-deploy:1.6.0
Was this example working?
I make it similar and catch the exception.
Failed to update the stack. An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Container.image contains invalid characters.
It seems like task-definition doesn't apply $BITBUCKET_BUILD_NUMBER automatically.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...