1
0
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:
Noxcis 2024-08-24 02:18:21 -05:00 committed by GitHub
parent 45504eaf95
commit 56287d8e7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,10 +32,12 @@ jobs:
docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t wg-dashboard:latest .
- name: Docker Scout
- name: Docker Scout Analysis
id: docker-scout
uses: docker/scout-action@v1
with:
command: cves
image: wg-dashboard:latest
github-token: ${{ secrets.GITHUB_TOKEN }}
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 }}