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 →
main: build, scan, pushsha-<short>, deploy dev then staging.- Tag
v1.5.0on a commit that passed staging. - Release workflow: verify image
sha-<short>exists, add tagv1.5.0to the same manifest (ECRput-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.
More on Runners, ARC, Monorepos & Releases
You must build on runners that can reach an internal Artifactory. Design the runner setup.AdvancedPersistent self-hosted runners keep failing because a previous job left files and Docker images. Fix the root cause.BeginnerDesign ARC for a company with Linux build jobs, Docker image builds, and GPU tests.AdvancedYou need to upgrade ARC across 10 clusters with zero dropped jobs. Plan it.AdvancedA monorepo has 30 services; every PR builds all of them. Redesign.AdvancedA monorepo deploys each service independently with its own version. How do you trigger and version releases?Advanced