mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2025-01-05 15:30:57 +00:00
Update scan.yml (#17)
This commit is contained in:
parent
afb437eb90
commit
b909b66b29
1 changed files with 3 additions and 2 deletions
5
.github/workflows/scan.yml
vendored
5
.github/workflows/scan.yml
vendored
|
@ -39,7 +39,8 @@ jobs:
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
if: always()
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
image-ref: 'docker.io/rockylinux/rockylinux:8'
|
image-ref: 'docker.io/rockylinux/rockylinux:8'
|
||||||
format: 'template'
|
format: 'template'
|
||||||
|
@ -52,7 +53,7 @@ jobs:
|
||||||
|
|
||||||
- name: Save scan results to github pages
|
- name: Save scan results to github pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }} && always()
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./public
|
publish_dir: ./public
|
||||||
|
|
Loading…
Reference in a new issue