diff --git a/.github/workflows/_docker-build-deploy.yml b/.github/workflows/_docker-build-deploy.yml index 3aae242..7d52b8c 100644 --- a/.github/workflows/_docker-build-deploy.yml +++ b/.github/workflows/_docker-build-deploy.yml @@ -15,6 +15,9 @@ on: publish: required: true type: boolean + ignore-linting-rules: + required: false + type: string jobs: build: @@ -30,7 +33,7 @@ jobs: - uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: ${{ inputs.docker-context }}/${{ inputs.dockerfile }} - ignore: SC1091 + ignore: SC1091,${{ inputs.ignore-linting-rules }} - name: ShellCheck run: | cd docker/${{ inputs.image-name }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f65f06..64ab6c3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,7 @@ jobs: docker-context: docker/tna-python-root dockerfile: Dockerfile publish: true + ignore-linting-rules: DL3002 python-django: name: Python Django @@ -52,3 +53,4 @@ jobs: docker-context: docker/tna-python-django-root dockerfile: Dockerfile publish: true + ignore-linting-rules: DL3002 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3699728..66087eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,7 @@ jobs: docker-context: docker/tna-python-root dockerfile: Dockerfile publish: false + ignore-linting-rules: DL3002 python-django: name: Python Django @@ -49,3 +50,4 @@ jobs: docker-context: docker/tna-python-django-root dockerfile: Dockerfile publish: false + ignore-linting-rules: DL3002