From f7be44ee85a0312e80b8843be36a297c86eb00c5 Mon Sep 17 00:00:00 2001 From: Conor Holden Date: Fri, 4 Oct 2024 10:06:27 +0200 Subject: [PATCH] :green_heart:[maykinmedia/objects-api#463] Temporarily disable Trivy in CI --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcf1ee8..be8aa3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,28 +124,28 @@ jobs: path: image.tar retention-days: 1 - image_scan: - runs-on: ubuntu-latest - name: Scan docker image - needs: - - docker - - steps: - - name: Download built image - uses: actions/download-artifact@v4 - with: - name: docker-image - - name: Scan image with Trivy - uses: aquasecurity/trivy-action@master - with: - input: /github/workspace/image.tar # from download-artifact - format: 'sarif' - output: 'trivy-results-docker.sarif' - ignore-unfixed: true - - name: Upload results to GH Security tab - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: 'trivy-results-docker.sarif' +# image_scan: +# runs-on: ubuntu-latest +# name: Scan docker image +# needs: +# - docker +# +# steps: +# - name: Download built image +# uses: actions/download-artifact@v4 +# with: +# name: docker-image +# - name: Scan image with Trivy +# uses: aquasecurity/trivy-action@master +# with: +# input: /github/workspace/image.tar # from download-artifact +# format: 'sarif' +# output: 'trivy-results-docker.sarif' +# ignore-unfixed: true +# - name: Upload results to GH Security tab +# uses: github/codeql-action/upload-sarif@v2 +# with: +# sarif_file: 'trivy-results-docker.sarif' publish: needs: