Remove hadolint when build & push
This commit is contained in:
parent
712abb16b2
commit
5de535d018
|
@ -61,11 +61,6 @@ jobs:
|
|||
context: ${{ env.CONTEXT }}
|
||||
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 }}
|
||||
|
||||
- name: Run Trivy container image vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.12.0
|
||||
with:
|
||||
|
|
|
@ -55,6 +55,7 @@ jobs:
|
|||
uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||
failure-threshold: ignore
|
||||
|
||||
- name: Run Trivy container image vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.12.0
|
||||
|
|
Loading…
Reference in New Issue