Skip to content

Commit c914cf3

Browse files
committed
trivy sha pinning
1 parent 97739e8 commit c914cf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run_trivy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
path: .trivy
4141
key: ${{ runner.os }}-trivy-db-${{ steps.trivy-db.outputs.sha }}
4242
- name: Run Trivy vulnerability scanner
43-
uses: aquasecurity/trivy-action@v0.36.0
43+
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25
4444
with:
4545
image-ref: "docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ github.event_name == 'workflow_dispatch' && (inputs.image_sha || github.sha) || github.event.workflow_run.head_sha }}"
4646
format: "template"

0 commit comments

Comments
 (0)