Add hadolint no-fail
This commit is contained in:
parent
8267633879
commit
99b437691c
|
@ -61,6 +61,12 @@ jobs:
|
|||
context: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}
|
||||
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||
|
||||
- name: Linting Dockerfile with hadolint in GH Actions
|
||||
uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||
no-fail: true
|
||||
|
||||
- name: Run Trivy container image vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.12.0
|
||||
with:
|
||||
|
|
|
@ -55,7 +55,7 @@ jobs:
|
|||
uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||
failure-threshold: ignore
|
||||
no-fail: true
|
||||
|
||||
- name: Run Trivy container image vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.12.0
|
||||
|
|
Loading…
Reference in New Issue