Skip to content

Commit 8c18049

Browse files
committed
fix: vulnerability scan and report upload
1 parent c4985c3 commit 8c18049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333

3434
# Step 5: Install Trivy for Vulnerability Scanning
3535
- name: Install Trivy
36-
uses: aquasecurity/trivy-action
36+
uses: aquasecurity/trivy-action@0.28.0
3737
with:
3838
image-ref: ghcr.io/${{ github.repository_owner }}/nginx-utils:latest
3939
format: json
4040
output: vuln-report.json
4141

4242
- name: Upload Vulnerability Report
43-
uses: actions/upload-artifact
43+
uses: actions/upload-artifact@4
4444
with:
4545
name: vuln-report
4646
path: vuln-report.json

0 commit comments

Comments
 (0)