From 5de535d018748532528f0aea33af71c0cf2fe490 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:03:47 +0200 Subject: [PATCH] Remove hadolint when build & push --- .github/workflows/docker-build.yml | 5 ----- .github/workflows/docker-manual.yml | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 1e1719f..2deadf3 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -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: diff --git a/.github/workflows/docker-manual.yml b/.github/workflows/docker-manual.yml index 24ea724..20141f9 100644 --- a/.github/workflows/docker-manual.yml +++ b/.github/workflows/docker-manual.yml @@ -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