Skip to content

Commit

Permalink
Merge pull request #1066 from rajithkrishnegowda/Upload_Hadolint_result
Browse files Browse the repository at this point in the history
uploading hadolint JSON report
  • Loading branch information
rajithkrishnegowda authored Sep 30, 2024
2 parents a73c997 + 575b90b commit ca96e7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ jobs:
- name: Hadolint Dockerfile Scan
run: |
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error /openfl-docker/Dockerfile.base
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error -f json /openfl-docker/Dockerfile.base > hadolint_output.json
- name: Upload Hadolint JSON Report
uses: actions/upload-artifact@v3
with:
name: hadolint-report
path: hadolint_output.json

0 comments on commit ca96e7e

Please sign in to comment.