Add hadolint to Dockerfile.ghcr image
This commit is contained in:
parent
6d0ef87ab9
commit
3c9d9166f1
|
@ -86,4 +86,13 @@ jobs:
|
||||||
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||||
version: ${{ env.HADOLINT_VERSION }}
|
version: ${{ env.HADOLINT_VERSION }}
|
||||||
annotate: true
|
annotate: true
|
||||||
|
error_level: -1
|
||||||
|
|
||||||
|
- name: Linting Dockerfile.ghcr and annotate code inline in the github PR viewer
|
||||||
|
id: hadolint_ghcr
|
||||||
|
uses: jbergstroem/hadolint-gh-action@v1.11.0
|
||||||
|
with:
|
||||||
|
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}.ghcr
|
||||||
|
version: ${{ env.HADOLINT_VERSION }}
|
||||||
|
annotate: true
|
||||||
error_level: -1
|
error_level: -1
|
Loading…
Reference in New Issue