Skip to content

Commit e4b43e3

Browse files
authored
path issue fix.
1 parent 9fd1167 commit e4b43e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ibvs_pull_request.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
path: edge-ai-suites-repo
3030
- name: Build
3131
run: |
32-
cd edge-ai-suites-repo/metro-ai-suites/image-based-video-search
32+
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search
3333
docker compose build
3434
docker compose up -d
3535
docker ps
@@ -116,7 +116,7 @@ jobs:
116116
117117
- name: Trivy Image Scans
118118
run: |
119-
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search/
119+
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search
120120
mkdir -p ${{ github.workspace }}/reports/Trivy
121121
trivy image intel/feature-matching:v1.0.1 --ignore-unfixed --format template --template "@trivy-html.tpl" -o trivy-image-scan-feature-matching-ignore-unfixed.html
122122
trivy image intel/feature-matching:v1.0.1 --ignore-unfixed --format template --template "@csv.tpl" -o trivy-image-scan-feature-matching-ignore-unfixed.csv
@@ -134,12 +134,12 @@ jobs:
134134
135135
- name: Trivy Config Scan
136136
run: |
137-
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search/
137+
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search
138138
trivy config . trivy-config.txt
139139
mv trivy-config.txt ${{ github.workspace }}/reports/Trivy
140140
- name: Trivy FS Scan
141141
run: |
142-
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search/
142+
cd edge-ai-suites-repo/metro-ai-suite/image-based-video-search
143143
trivy fs . --format template --template "@trivy-html.tpl" -o "trivy-fs-full-report-code-scan.html"
144144
trivy fs --list-all-pkgs --format template --template "@csv.tpl" --output trivy-fs-full-report.csv .
145145
trivy fs --ignore-unfixed . | tee trivy-fs-full-report-ignore-unfixed.txt
@@ -173,7 +173,7 @@ jobs:
173173
mkdir -p reports
174174
docker pull ghcr.io/pycqa/bandit/bandit
175175
echo "### Bandit Scan Results" >> $GITHUB_STEP_SUMMARY
176-
docker run --rm -v "${{ github.workspace }}:/src" ghcr.io/pycqa/bandit/bandit -r /src/edge-ai-suites-repo/metro-ai-suite/image-based-video-search -f txt -o /src/reports/bandit-report.txt || true >> $GITHUB_STEP_SUMMARY
176+
docker run --rm -v "${{ github.workspace }}:/src" ghcr.io/pycqa/bandit/bandit -r /src/edge-ai-suites-repo/metro-ai-suite/image-based-video-search/ -f txt -o /src/reports/bandit-report.txt || true >> $GITHUB_STEP_SUMMARY
177177
echo "Please find full report in bandit-report.txt" >> $GITHUB_STEP_SUMMARY
178178
- name: Upload Scan Reports
179179
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)