vechain / thor

A general purpose blockchain highly compatible with Ethereum's ecosystem
GNU Lesser General Public License v3.0
796 stars 247 forks source link

Add docker security scan #705

Closed darrenvechain closed 5 months ago

darrenvechain commented 5 months ago

Description

This step adds a docker security scan after building the image.

In order to make this work, we needed to load the image locally (push does not store the image locally), and this requires that we only build on 1 platform. See issue: https://github.com/docker/buildx/issues/59

Type of change

How Has This Been Tested?

On this GHA: https://github.com/vechain/thor/actions/runs/8725735636

Checklist:

darrenvechain commented 5 months ago

@libotony should we set a low threshold?