Skip to content

Commit 9f5d7fb

Browse files
authored
Update argo-actions.yml
1 parent a6bb3ab commit 9f5d7fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/argo-actions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ jobs:
2525
- name: Build Docker Image
2626
run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/my-app:${{ github.sha }} .
2727

28+
- name: Scan Docker Image with Trivy
29+
run: docker run --rm -v /var/run/docker.sock:/var/run/docker.sock aquasec/trivy:latest image ${{ secrets.DOCKERHUB_USERNAME }}/my-app:${{ github.sha }}
30+
2831
- name: Install NodeJS dependencies
2932
run: npm install

0 commit comments

Comments
 (0)