trivy-action icon indicating copy to clipboard operation
trivy-action copied to clipboard

feat(image): add `--docker-host` option for GH Action users

Open calinmarina opened this issue 1 year ago • 1 comments

This is addressing problem arising from trying to scan local images when docker socket path is different than default /var/run/docker.sock

This was already requested and solved here https://github.com/aquasecurity/trivy/issues/2997 for CLI runs but not available for trivy GH Action.

Adds test and fixes outdated ones.

calinmarina avatar Oct 10 '23 20:10 calinmarina

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 10 '23 20:10 CLAassistant

@uridium

Would you be able to get this merged back to master? Seems like an easy PR fix, and solves my issue in my current work as our docker-hosted runners mount on /run/docker/docker.sock

Thanks!

admiralAwkbar avatar Apr 03 '24 13:04 admiralAwkbar

@admiralAwkbar it's not up to me, but @simar7

uridium avatar Apr 03 '24 19:04 uridium