Skip to content

Commit

Permalink
Update trivy.yml (#10)
Browse files Browse the repository at this point in the history
* Update trivy.yml

* Fix path for Dockerfile at trivy

Signed-off-by: Nathalia <[email protected]>
  • Loading branch information
n-th authored Jul 26, 2022
1 parent dc1409c commit f394583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Build an image from Dockerfile
run: |
docker build -t docker.io/my-organization/my-app:${{ github.sha }} .
docker build -f dev/api/Dockerfile -t docker.io/my-organization/my-app:${{ github.sha }} .
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
Expand Down

0 comments on commit f394583

Please sign in to comment.