Skip to content

Commit

Permalink
Fix ci workflow for dockerfile location
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed May 14, 2024
1 parent f2da393 commit b8d5ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./tad/Dockerfile
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand All @@ -182,7 +182,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: ${{ steps.meta.outputs.tags }}
image-ref: ${{ steps.meta.outputs.tags[0] }}
trivy-config: trivy.yaml
scan-type: image
exit-code: 0
Expand Down

0 comments on commit b8d5ed4

Please sign in to comment.