Public Access
generated from Philipp/template-git
feat: add write-summary option to publish reports to step summary #4
@@ -60,18 +60,11 @@ jobs:
|
|||||||
tags: registry.example.com/my-app:git-${{ github.sha }}
|
tags: registry.example.com/my-app:git-${{ github.sha }}
|
||||||
|
|
||||||
- name: Compare Vulnerabilities (Head vs Target)
|
- name: Compare Vulnerabilities (Head vs Target)
|
||||||
uses: Philipp/cve-differential@main
|
uses: https://git.horstenkamp.eu/Philipp/cve-differential@main
|
||||||
with:
|
with:
|
||||||
head-image: registry.example.com/my-app:git-${{ github.sha }}
|
head-image: registry.example.com/my-app:git-${{ github.sha }}
|
||||||
target-image: registry.example.com/my-app:latest
|
target-image: registry.example.com/my-app:latest
|
||||||
target-branch: ${{ github.base_ref || 'main' }}
|
target-branch: ${{ github.base_ref || 'main' }}
|
||||||
|
|
||||||
- name: Publish CVE Delta to Job Summary
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
if [ -f cve-delta.md ]; then
|
|
||||||
cat cve-delta.md >> "$GITHUB_STEP_SUMMARY"
|
|
||||||
fi
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in new issue
Block a user