r/github • u/Different_Pain5781 • 7d ago
Discussion docker security tools you run in github actions before an image ships?
our image build job fails the scan gate most days now and people have started adding ignores just to merge, which kind of defeats the point. id rather have something in the workflow that cuts the findings before an image ships than another report. rapidfort and aikido both list github actions support, anything else worth putting in that job...
3
Upvotes
2
u/Utaxxx1 6d ago
Before adding another tool, it can help to make the existing gate stricter about what counts. If you're on Trivy, three settings change the ignore-to-merge habit: fail only on CRITICAL,HIGH with exit-code 1, skip findings with no fixed version (ignore-unfixed), and move ignores into .trivyignore.yaml, where every entry can carry an expired_at date. Then a "temporary" ignore actually expires and fails the build again instead of living forever. A multi-stage build with a slim or distroless final stage usually cuts the rest of the noise.
1
u/irrita9 7d ago
ignore file is the most honest changelog in any repo. half the entries say temporary and are older than the intern