mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 16:00:28 +01:00
Update main.yml
This commit is contained in:
parent
fee6cf29eb
commit
dbd825ba4b
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user