mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-12-18 07:08:30 +00:00
Update scan.yml (#17)
This commit is contained in:
parent
afb437eb90
commit
b909b66b29
5
.github/workflows/scan.yml
vendored
5
.github/workflows/scan.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user