There was an error while loading. Please reload this page.
1 parent 7b99737 commit 90cd718Copy full SHA for 90cd718
2 files changed
.github/workflows/release.yaml
@@ -35,7 +35,7 @@ jobs:
35
uses: aquasecurity/trivy-action@0.20.0
36
with:
37
scan-type: fs
38
- scan-ref: .
+ scan-ref: ./app
39
format: sarif
40
output: trivy-fs-report.sarif
41
exit-code: 0
@@ -61,7 +61,7 @@ jobs:
61
62
- name: Build Docker image
63
run: |
64
- docker build -t ${REGISTRY}/${IMAGE_NAME}-${IMAGE_TAG}:1h .
+ docker build -t ${REGISTRY}/${IMAGE_NAME}-${IMAGE_TAG}:1h ./app
65
66
- name: Generate Docker image SBOM with Trivy
67
app/.dockerignore
@@ -0,0 +1,3 @@
1
+__pycache__/
2
+*.pyc
3
+.git
0 commit comments