fix(deps): update module go.uber.org/zap to v1.27.1 #515
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: Build images | |
| permissions: {} | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| paths: | |
| - '.github/workflows/docker-*.yml' | |
| - 'api/**' | |
| - 'controllers/**' | |
| - 'pkg/**' | |
| - 'e2e/*' | |
| - '.ko.yaml' | |
| - 'go.*' | |
| - 'main.go' | |
| - 'Makefile' | |
| jobs: | |
| build-images: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: ko build | |
| run: VERSION=${{ github.sha }} make ko-build-all | |
| - name: Trivy Scan Image | |
| uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1 | |
| with: | |
| scan-type: 'fs' | |
| ignore-unfixed: true | |
| format: 'sarif' | |
| output: 'trivy-results.sarif' | |
| severity: 'CRITICAL,HIGH' | |
| env: | |
| # Trivy is returning TOOMANYREQUESTS | |
| # See: https://github.com/aquasecurity/trivy-action/issues/389#issuecomment-2385416577 | |
| TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2' | |
| - name: Upload Trivy scan results to GitHub Security tab | |
| uses: github/codeql-action/upload-sarif@85f1517bb46a9e4d5e1ad15a6ef251b3124ba42b | |
| with: | |
| sarif_file: 'trivy-results.sarif' |