---
title: "Comment by Abhinav Sharma on \"A Green Deploy That Ships the Old PHP\" | Hashnode"
description: "Classic failure mode: the green environment gets tagged from a cached base image, so the deploy is green but the runtime is still the unpatched PHP. Pinning the"
url: "https://hashnode.com/posts/green-deploy-ships-old-php/6ad9d31c010592d53dc4a58b/comment/6ada4f94e45e5683bfa0f10f"
---

[Discussion](https://hashnode.com/posts/green-deploy-ships-old-php/6ad9d31c010592d53dc4a58b)

Comment [A Green Deploy That Ships the Old PHP](https://hashnode.com/posts/green-deploy-ships-old-php/6ad9d31c010592d53dc4a58b)

[Abhinav Sharma](https://hashnode.com/@abhinavs1920)

[Oct 22](https://hashnode.com/posts/green-deploy-ships-old-php/6ad9d31c010592d53dc4a58b/comment/6ada4f94e45e5683bfa0f10f)

Classic failure mode: the green environment gets tagged from a cached base image, so the deploy is green but the runtime is still the unpatched PHP. Pinning the base image digest and forcing a rebuild on security releases is the boring fix that prevents exactly this.
