You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi Team,
I'm using aws ecr Atlassian pipe for build and push the image to ecr repo. And using aws ecs deploy Atlassian pipe for deploying the ecs, but my doubt is how to rollback to old image?
Please suggest or share the bitbucketpipeline.
Hi @venkatp and welcome to the community!
First, you need to find the Pipelines build that pushed the old version of the image (the one that you want to roll back to).
If the step that pushes the image is a deployment step, there will be an option Redeploy next to the step name. You can select that to redeploy the old version of the image. Alternatively, you can select the Deployments page on the Bibtucket repo, select the name of the Deployment environment you use for this step, and you will see a list with all deployments to this environment. If you select the 3 dots next to the older build you want to redeploy, you will see the option Redeploy.
If the step that pushes the image is not a deployment step, then you can rerun the whole pipeline by selecting the Rerun option.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.