My pipeline has multiple steps and I'm trying to get it to work for multiple environments. It was working fine for one environment. I already followed the guide in this document: https://confluence.atlassian.com/bitbucket/yaml-anchors-960154027.html?_ga=2.260751877.964504472.1573266564-336097571.1573266564
But it doesn't appear to be correct as I get the error: `There is an error in your bitbucket-pipelines.yml at [pipelines > branches > develop > 0]. To be precise: Step is empty, null, or missing.`, when following the syntax in the example directly.
Here's my pipeline yml file:
- step: &pushToECR
name: Push to ECR
- unset NPM_CONFIG_USER
- docker build -t $ECR_IMAGE_NAME .
- pipe: atlassian/aws-ecr-push-image:1.0.1
- step: &deployToECS
name: Deploy to ECS
script: # Modify the commands below to build your repository.
- pipe: atlassian/aws-ecs-deploy:1.0.4
When working in customer support, it’s crucial to calculate, analyze and monitor specific numbers, called KPIs (Key Performance Indicators). They go hand-in-hand with customer satisfaction, problem d...
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