1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-21 23:01:39 +01:00

Update main.yml

This commit is contained in:
Noxcis 2024-08-24 02:28:35 -05:00 committed by GitHub
parent fee6cf29eb
commit dbd825ba4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,12 +55,12 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Docker Scout Analysis
- name: Docker Scout
id: docker-scout
run: |
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/scout-action:v1 \
cves \
--image wg-dashboard:latest \
--github-token ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'pull_request' }}
uses: docker/scout-action@dd36f5b0295baffa006aa6623371f226cc03e506
with:
command: cves
image: ${{ steps.meta.outputs.tags }}
only-severities: critical,high
exit-code: true