From 0266110a01776894bcfde5c01a6efabf9f09f31d Mon Sep 17 00:00:00 2001 From: osman sonmezturk Date: Fri, 17 Nov 2023 16:20:16 +0300 Subject: [PATCH] comment image scan part --- .github/workflows/build-push-image.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index cc58ddb8..edd4924b 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -49,14 +49,14 @@ jobs: tags: "${{ env.ECR_REPOSITORY_URL_APP }}:${{ env.IMAGE_TAG }}" push: false - - name: Scan image - High and Critical Severity - uses: aquasecurity/trivy-action@master - with: - image-ref: "${{ env.ECR_REPOSITORY_URL_APP }}:${{ env.IMAGE_TAG }}" - format: sarif - output: trivy-results.sarif - hide-progress: false - exit-code: 1 +# - name: Scan image - High and Critical Severity +# uses: aquasecurity/trivy-action@master +# with: +# image-ref: "${{ env.ECR_REPOSITORY_URL_APP }}:${{ env.IMAGE_TAG }}" +# format: sarif +# output: trivy-results.sarif +# hide-progress: false +# exit-code: 1 - name: Upload Trivy scan results to GitHub Security tab uses: github/codeql-action/upload-sarif@v2