From 56287d8e7ada82907d9adbc9cdad3adaec99944d Mon Sep 17 00:00:00 2001 From: Noxcis Date: Sat, 24 Aug 2024 02:18:21 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09df135..61fa9b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}