Trivy blocked the application pipeline
- Problem
- The application pipeline failed because Trivy found HIGH-severity vulnerabilities in the NGINX Alpine base image packages.
- Root cause
- The base image shipped with outdated Alpine packages.
- Fix
- Kept the security gate on and upgraded packages during the image build (apk upgrade), then rebuilt until the HIGH and CRITICAL scan passed.