Update main.yml

This commit is contained in:
Logan Marchione 2023-01-03 15:32:34 +00:00 committed by GitHub
parent 2d1ee0afa0
commit dce7230498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,9 +48,13 @@ jobs:
docker ps -a
- name: Container scan with Dockle
uses: docker://goodwithtech/dockle:v0.4.10
uses: goodwithtech/dockle-action@0.1.0
with:
args: '--exit-code 1 --format list --ignore CIS-DI-0001 ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}'
image: '${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}'
format: 'list'
exit-code: '1'
exit-level: 'warn'
ignore: 'CIS-DI-0001'
- name: Container scan with Trivy
uses: aquasecurity/trivy-action@0.8.0