Update trivy sarif upload action to associate to branch ref
Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
3
.github/workflows/release-probod.yaml
vendored
3
.github/workflows/release-probod.yaml
vendored
@@ -328,6 +328,9 @@ jobs:
|
||||
if: always()
|
||||
with:
|
||||
sarif_file: "trivy-results.sarif"
|
||||
ref: "refs/heads/main"
|
||||
sha: ${{ github.sha }}
|
||||
category: "trivy-docker-image"
|
||||
- name: "Compose release notes"
|
||||
env:
|
||||
IMAGE_TAG: ${{ needs.docker-manifest.outputs.image_tag }}
|
||||
|
||||
Reference in New Issue
Block a user