From c1e83683c785bcd9da754cf9c050f1a3caa79815 Mon Sep 17 00:00:00 2001 From: Jens Kutzsche Date: Mon, 20 Dec 2021 09:40:38 +0100 Subject: [PATCH] chore(Codescan): tests newest version of Trivy-Action --- .github/workflows/bff_develop.yml | 2 ++ .github/workflows/trivy-container-scan.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bff_develop.yml b/.github/workflows/bff_develop.yml index b67da6893..44c394722 100644 --- a/.github/workflows/bff_develop.yml +++ b/.github/workflows/bff_develop.yml @@ -10,6 +10,8 @@ on: paths: - iris-client-bff/** - .github/workflows/bff_develop.yml + - .github/workflows/publish-test-results.yml@develop + - .github/workflows/trivy-container-scan.yml pull_request: branches: - develop diff --git a/.github/workflows/trivy-container-scan.yml b/.github/workflows/trivy-container-scan.yml index df2888fa9..95e02d556 100644 --- a/.github/workflows/trivy-container-scan.yml +++ b/.github/workflows/trivy-container-scan.yml @@ -18,8 +18,11 @@ jobs: image-ref: ${{fromJson(inputs.image-refs)}} steps: + - name: Checkout code + uses: actions/checkout@v2.3.4 + - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@master + uses: aquasecurity/trivy-action@0.2.0 with: image-ref: '${{ matrix.image-ref }}' format: 'template'