Skip to content

Commit 13f0850

Browse files
authored
pin trivy-action to commit hash for release 0.35.0 to avoid compromised versions (#1897)
1 parent 5134c88 commit 13f0850

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
tags: ${{ steps.meta.outputs.tags }}
5959
labels: ${{ steps.meta.outputs.labels }}
6060
- name: Scan aerie-ui Docker image
61-
uses: aquasecurity/trivy-action@master
61+
# pinned to commit for v0.35.0 https://github.com/aquasecurity/trivy-action/releases/tag/v0.35.0
62+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
6263
with:
6364
image-ref: ${{ env.REGISTRY }}/nasa-ammos/aerie-ui:${{ github.sha }}
6465
format: 'table'

0 commit comments

Comments
 (0)