Skip to content

Commit 90cd718

Browse files
committed
fix: update paths for monorepo
Signed-off-by: Vikram Vaswani <2571660+vvaswani@users.noreply.github.com>
1 parent 7b99737 commit 90cd718

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: aquasecurity/trivy-action@0.20.0
3636
with:
3737
scan-type: fs
38-
scan-ref: .
38+
scan-ref: ./app
3939
format: sarif
4040
output: trivy-fs-report.sarif
4141
exit-code: 0
@@ -61,7 +61,7 @@ jobs:
6161
6262
- name: Build Docker image
6363
run: |
64-
docker build -t ${REGISTRY}/${IMAGE_NAME}-${IMAGE_TAG}:1h .
64+
docker build -t ${REGISTRY}/${IMAGE_NAME}-${IMAGE_TAG}:1h ./app
6565
6666
- name: Generate Docker image SBOM with Trivy
6767
uses: aquasecurity/trivy-action@0.20.0

app/.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__pycache__/
2+
*.pyc
3+
.git

0 commit comments

Comments
 (0)