name: Build images permissions: {} on: push: branches: - '*' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: build-images: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Setup build env uses: ./.github/actions/setup-build-env timeout-minutes: 10 with: build-cache-key: build-images - name: ko build run: VERSION=${{ github.ref_name }} make ko-build-all - name: Trivy Scan Image uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0 with: scan-type: 'fs' ignore-unfixed: true format: 'sarif' output: 'trivy-results.sarif' severity: 'CRITICAL,HIGH'