Interview Prep/CI/CD/Secrets, Security and Pipeline Performance

Pipeline succeeds but the deployed artifact differs from what was tested.

AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer

Likely causes → Rebuild per environment, mutable tags, different base image on rebuild.

Diagnose → Compare image digests at each stage.

Fix → Build once, pass the digest, deploy by digest.

Prevent → Admission policy that requires digests and verified signatures.

All CI/CD questions

More on Secrets, Security and Pipeline Performance