Build the artifact once and promote it across environments
Produce one immutable build artifact and promote that same artifact through staging to production.
Why This Matters
Rebuilding per environment means the artifact tested in staging is not the one deployed to prod.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.