build(deps): bump soroban-sdk from 22.0.11 to 27.0.0 in /contracts #26
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' |