build(deps): bump next from 15.4.6 to 16.2.12 in /Frontend in the nextjs-frontend group #298
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Trivy Security Scan | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| concurrency: | |
| group: trivy-scan-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| trivy: | |
| name: Trivy Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Postgres image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: infrastructure/docker | |
| file: infrastructure/docker/postgres.Dockerfile | |
| push: false | |
| load: true | |
| pull: true | |
| tags: vertexchain-postgres:latest | |
| - name: Run Trivy image vulnerability scan | |
| uses: aquasecurity/trivy-action@master | |
| with: | |
| image-ref: 'vertexchain-postgres:latest' | |
| format: 'table' | |
| exit-code: '1' | |
| severity: 'CRITICAL,HIGH' | |
| - name: Run Trivy filesystem vulnerability scan | |
| uses: aquasecurity/trivy-action@master | |
| with: | |
| scan-type: 'fs' | |
| scan-ref: 'infrastructure' | |
| format: 'table' | |
| exit-code: '1' | |
| severity: 'CRITICAL,HIGH' |