diff --git a/.github/workflows/hlint.yml b/.github/workflows/hlint.yml index 1a05c00..3011823 100644 --- a/.github/workflows/hlint.yml +++ b/.github/workflows/hlint.yml @@ -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 \ No newline at end of file