Skip to content

Commit

Permalink
fix: Error: Path does not exist: results.sarif
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Mudrykh committed Jul 27, 2023
1 parent 22e8e16 commit 2a6896c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,25 @@ jobs:
with:
name: Go-results-${{ matrix.go-version }}
path: ./app/cmd/main/app-${{ matrix.go-version }}

docker-check-vulnerabilities:
runs-on: ubuntu-latest
needs: initial
steps:
- uses: actions/checkout@v3

- name: Checkov Dockerfile Scan
uses: bridgecrewio/[email protected]
with:
directory: container-image-scannig
directory: container-image-scanning
framework: dockerfile

- name: Upload SARIF file
id: upload-sarif
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
sarif_file: container-image-scanning/results.sarif

docker:
runs-on: ubuntu-latest
needs: docker-check-vulnerabilities
Expand Down Expand Up @@ -102,4 +105,4 @@ jobs:
push: true
tags: arturmon/albums:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max

0 comments on commit 2a6896c

Please sign in to comment.