Skip to content

Commit e1838b2

Browse files
committed
alphabetical
1 parent 6666472 commit e1838b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/run-ci-cd.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ jobs:
182182
- name: Run Trivy Repository Scan
183183
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
184184
with:
185-
trivy-config: trivy.yaml
186185
scan-type: repo
186+
trivy-config: trivy.yaml
187187

188188
scan-ci-dependencies:
189189
name: Run CI Denendencies Scan
@@ -197,8 +197,8 @@ jobs:
197197
- name: Run Trivy Filesystem Scan
198198
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
199199
with:
200-
trivy-config: trivy.yaml
201200
scan-type: fs
201+
trivy-config: trivy.yaml
202202

203203
build-staging-images:
204204
name: Build Staging Images
@@ -269,16 +269,16 @@ jobs:
269269
- name: Scan backend image
270270
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
271271
with:
272-
trivy-config: trivy.yaml
273272
exit-code: 1
274273
image-ref: ${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:staging
274+
trivy-config: trivy.yaml
275275

276276
- name: Scan frontend image
277277
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
278278
with:
279-
trivy-config: trivy.yaml
280279
exit-code: 1
281280
image-ref: ${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:staging
281+
trivy-config: trivy.yaml
282282

283283
deploy-staging-nest:
284284
name: Deploy Nest Staging
@@ -433,16 +433,16 @@ jobs:
433433
- name: Scan backend image
434434
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
435435
with:
436-
trivy-config: trivy.yaml
437436
exit-code: 1
438437
image-ref: ${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:production
438+
trivy-config: trivy.yaml
439439

440440
- name: Scan frontend image
441441
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5
442442
with:
443-
trivy-config: trivy.yaml
444443
exit-code: 1
445444
image-ref: ${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:production
445+
trivy-config: trivy.yaml
446446

447447
deploy-production-nest:
448448
name: Deploy Nest to Production

0 commit comments

Comments
 (0)