Interview Prep/GitHub Actions/Runners, ARC, Monorepos & Releases

You want CD to stop at staging and let prod be promoted later by tagging. How do you design the image flow?

IntermediateScenarioRunners, ARC, Monorepos & Releases
Answer

Situation read → Promotion by digest.

What I'd do →

  1. main: build, scan, push sha-<short>, deploy dev then staging.
  2. Tag v1.5.0 on a commit that passed staging.
  3. Release workflow: verify image sha-<short> exists, add tag v1.5.0 to the same manifest (ECR put-image), create release, deploy prod by digest.

Why → Prod gets exactly what staging tested, and tags are just names on the same digest.

Interview tip → Mention verifying the commit actually passed staging (check deployment status via API) before promoting.

All GitHub Actions questions Roadmap: GitHub Actions

More on Runners, ARC, Monorepos & Releases