Skip to content

Commit 6b58939

Browse files
ci: disable trivy vulnerability scanning
1 parent 2f9a8cb commit 6b58939

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/build.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,22 @@ jobs:
5959
path: ${{ env.tar_file }}
6060
retention-days: 1
6161

62-
scan-docker-image-with-trivy:
63-
needs: build-docker-image
64-
runs-on: ubuntu-latest
65-
steps:
66-
- name: Download Docker image artifact
67-
uses: actions/download-artifact@v4
68-
with:
69-
name: ${{ needs.build-docker-image.outputs.tar_file }}
70-
71-
- name: Load Docker image
72-
run: |
73-
docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
74-
- name: Run Trivy vulnerability scan
75-
uses: aquasecurity/trivy-action@v0.35.0
76-
with:
77-
image-ref: '${{ needs.build-docker-image.outputs.image_name }}'
78-
format: 'table'
79-
exit-code: 1
80-
severity: 'CRITICAL,HIGH'
62+
# scan-docker-image-with-trivy:
63+
# needs: build-docker-image
64+
# runs-on: ubuntu-latest
65+
# steps:
66+
# - name: Download Docker image artifact
67+
# uses: actions/download-artifact@v4
68+
# with:
69+
# name: ${{ needs.build-docker-image.outputs.tar_file }}
70+
#
71+
# - name: Load Docker image
72+
# run: |
73+
# docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
74+
# - name: Run Trivy vulnerability scan
75+
# uses: aquasecurity/trivy-action@v0.35.0
76+
# with:
77+
# image-ref: '${{ needs.build-docker-image.outputs.image_name }}'
78+
# format: 'table'
79+
# exit-code: 1
80+
# severity: 'CRITICAL,HIGH'

0 commit comments

Comments
 (0)