Update image reference for Trivy scanner step

This commit is contained in:
Théophyl Hoguet authored and GitHub committed 2025-11-04 00:09:34 +01:00
1 parent 6556dd7cf2
commit 2027b412b3
1 file changed
+2 -1
+2 -1
View File
@@ -41,6 +41,7 @@ jobs:
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
id: build
uses: docker/build-push-action@v6
with:
context: .
@@ -53,7 +54,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.27.0
with:
image-ref: ${{ needs.build.outputs.image }}
image-ref: ${{ steps.build.outputs.digest }}
format: 'sarif'
output: 'trivy-results.sarif'