mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 07:10:09 +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-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
- name: Docker Scout Analysis
|
- name: Docker Scout
|
||||||
id: docker-scout
|
id: docker-scout
|
||||||
run: |
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
docker run --rm \
|
uses: docker/scout-action@dd36f5b0295baffa006aa6623371f226cc03e506
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
with:
|
||||||
docker/scout-action:v1 \
|
command: cves
|
||||||
cves \
|
image: ${{ steps.meta.outputs.tags }}
|
||||||
--image wg-dashboard:latest \
|
only-severities: critical,high
|
||||||
--github-token ${{ secrets.GITHUB_TOKEN }}
|
exit-code: true
|
||||||
|
Loading…
Reference in New Issue
Block a user