Update scan.yml (#17)

This commit is contained in:
Neil Hanlon 2022-04-09 10:41:43 -04:00 committed by GitHub
parent afb437eb90
commit b909b66b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,8 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
if: always()
if: always()
continue-on-error: true
with:
image-ref: 'docker.io/rockylinux/rockylinux:8'
format: 'template'
@ -52,7 +53,7 @@ jobs:
- name: Save scan results to github pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' }} && always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public