Skip to content

Commit

Permalink
fix: show docker analysis results on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmanuel-tirado committed Jun 4, 2024
1 parent f73ae93 commit 6bad3ce
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/docker-vulnerabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,24 @@ jobs:
cat trivy-image-scan-results.output >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Comment Trivy scan results in PR
uses: thollander/actions-comment-pull-request@v1
with:
message: |
## Trivy scan results
- name: Comment Trivy scan results in PR
uses: thollander/actions-comment-pull-request@v1
with:
message: |
## Trivy scan results
### fs scan
```
${{ env.TRIVY_FS_RESULTS }}
```
### fs scan
```
${{ env.TRIVY_FS_RESULTS }}
```
### Docker image scan
```
${{ env.TRIVY_IMAGE_RESULTS }}
```
### Docker image scan
```
${{ env.TRIVY_IMAGE_RESULTS }}
```
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
Expand Down

0 comments on commit 6bad3ce

Please sign in to comment.