How do you roll back a release made from a tag?
IntermediateProductionRecovery and incident handling
Answer
Redeploy the previous tag's artifact digest. If the tag itself is bad, publish a new patch tag (v1.4.1) rather than deleting and recreating v1.4.0, because consumers and caches already saw the old one. Mark the broken GitHub Release as pre-release or edit notes with a warning.
More on Recovery and incident handling
Someone force-pushed over main and 12 commits vanished. How do you recover?IntermediateAfter recovery, what do you change so a force-push to main cannot happen again?AdvancedA bad migration commit was deployed. Walk through your response in the first 15 minutes.IntermediateHow do you recover a deleted repository or branch on GitHub?IntermediateHow do you find who or what pushed a specific commit to a protected branch?AdvancedCI is red on main after a merge. What is your policy?Intermediate