Scan image with Trivy

Fail pipeline if HIGH or CRITICAL CVEs found

trivy image --exit-code 1 --severity HIGH,CRITICAL img:tag

tool
docker46 commands
tags
dockersecurity

More docker commands

all 46 docker commands