Update main.yml
This commit is contained in:
parent
2d1ee0afa0
commit
dce7230498
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user