Skip to content

Commit dc9d8fb

Browse files
authored
fix(ci): pin trivy-action to a specific commit (#9)
The `aquasecurity/trivy-action@main` reference was failing because the 'main' branch is not a valid version. This commit updates the workflow to use a specific, stable commit SHA, which resolves the error and improves the reliability of the CI/CD pipeline.
1 parent 7f097c9 commit dc9d8fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cache-to: type=gha,mode=max
4545

4646
- name: Scan for vulnerabilities
47-
uses: aquasecurity/trivy-action@main
47+
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
4848
with:
4949
image-ref: 'ghcr.io/${{ github.repository }}:${{ github.sha }}'
5050
format: 'table'

0 commit comments

Comments
 (0)