Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): Integrate Trivy for Docker image vulnerability scanning Fixes #24 #32

Merged

Conversation

ranzyblessings
Copy link
Owner

  • Added Trivy to GitHub Actions workflow to scan Docker images for vulnerabilities.
  • Configured Trivy to scan the built image before pushing to Docker Hub.
  • Set severity threshold to CRITICAL,HIGH with exit code 1 for pipeline enforcement.
  • Pinned Trivy GitHub Action to v0.29.0 for stability and consistency.

Ensures security compliance by preventing deployment of vulnerable images.

Fixes #24

- Added Trivy to GitHub Actions workflow to scan Docker images for vulnerabilities.
- Configured Trivy to scan the built image before pushing to Docker Hub.
- Set severity threshold to CRITICAL,HIGH with exit code 1 for pipeline enforcement.
- Pinned Trivy GitHub Action to v0.29.0 for stability and consistency.

Ensures security compliance by preventing deployment of vulnerable images.
@ranzyblessings ranzyblessings merged commit b60b144 into main Feb 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance Docker Image Security: Implement Vulnerability Scanning & Best Practices
1 participant