Interview Prep/Docker/CI/CD and production rollouts

Reduce attack surface of CI build environment itself.

AdvancedScenarioCI/CD and production rollouts
Answer

Situation read → Builders have registry credentials.

What I'd do → Ephemeral runners, short-lived OIDC credentials to the registry (no static keys), least-privilege push scopes per repo, no socket sharing, network egress allow-lists, and signed provenance for builds.

Why → A compromised builder can push poisoned images.

Interview tip → OIDC federation removes stored registry passwords.

All Docker questions Roadmap: Docker & containers

More on CI/CD and production rollouts