From 96952c0f301c50b0e9c171806d8c6fff9ec4695c Mon Sep 17 00:00:00 2001 From: sax Date: Fri, 14 Jun 2024 17:59:14 +0200 Subject: [PATCH] 2024-06-14 17:59 - updates --- .github/workflows/test.yml | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fab71481..06615ff8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -168,23 +168,23 @@ jobs: - run: | echo "::notice:: ${{steps.image_name.outputs.name}} pushed to dockerhub" - trivy: - runs-on: ubuntu-latest - needs: [release] - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: DockerHub login - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@master - with: - image-ref: ${{ needs.release.outputs.image }} - format: 'table' - exit-code: '0' - ignore-unfixed: true - vuln-type: 'os,library' - severity: 'CRITICAL,HIGH' \ No newline at end of file + trivy: + runs-on: ubuntu-latest + needs: [release] + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: DockerHub login + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Run Trivy vulnerability scanner + uses: aquasecurity/trivy-action@master + with: + image-ref: ${{ needs.release.outputs.image }} + format: 'table' + exit-code: '0' + ignore-unfixed: true + vuln-type: 'os,library' + severity: 'CRITICAL,HIGH' \ No newline at end of file