Skip to content

Commit

Permalink
fix log file and upload to artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
rajithkrishnegowda committed Sep 26, 2024
1 parent 536462b commit 495b19f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-bench-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:
-v /var/lib:/var/lib:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--label docker_bench_security \
docker/docker-bench-security > results/docker-bench-report.txt
docker/docker-bench-security -l results/docker-bench-security.log -o json
- name: Upload Results
uses: actions/upload-artifact@v3
with:
name: docker-bench-results
path: results/docker-bench-results.txt
path: |
results/docker-bench-security.log
results/docker-bench-security.log.json

0 comments on commit 495b19f

Please sign in to comment.