Rollback by image tag

Rollback by image tag means restoring a previously deployed container image by selecting its known-good commit-SHA tag. In this course, a rollback planner validates the target tag and changes only the relevant service's image reference in the production Compose file, preserving unrelated configuration.

Minimal example

yaml
services:
  api:
    image: ghcr.io/yashdagar/zomato-api:b42e8d1
  worker:
    image: ghcr.io/yashdagar/zomato-worker:b42e8d1

Learn this concept

Lesson 7.15 · Release checks and gRPC recovery

Used in exercises

Exercise 7.18 · Release rollback planner