Skip to content

Commit

Permalink
chore: Upload analysis results to GitHub
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Dec 11, 2024
1 parent b9ad815 commit 222b6a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/hlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,26 @@ jobs:
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: .docker/Dockerfile.apache
format: sarif
output-file: hadolint-apache-results.sarif
no-fail: true

- name: Lint FPM Dockerfille
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: .docker/Dockerfile.fpm
format: sarif
output-file: hadolint-fpm-results.sarif
no-fail: true

- name: Upload Apache analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: hadolint-apache-results.sarif
wait-for-processing: true

- name: Upload FPM analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: hadolint-fpm-results.sarif
wait-for-processing: true

0 comments on commit 222b6a6

Please sign in to comment.