Also use github.actor for the scan workfow

This commit is contained in:
Jan Wagner 2021-12-07 16:48:10 +01:00 committed by hoellen
parent 70560d7d48
commit 9b0a84a36f

View File

@ -16,7 +16,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ghcr.io/hoellen/nextcloud'
image-ref: 'ghcr.io/${{ github.actor }}/nextcloud'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'