mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-30 08:52:58 +01:00
Adds a CI job for hadolint over all the Dockerfiles, fixes the minor thing it complained about
This commit is contained in:
parent
4444925dea
commit
daad634894
2 changed files with 36 additions and 14 deletions
23
.github/workflows/reusable-ci-backend.yml
vendored
23
.github/workflows/reusable-ci-backend.yml
vendored
|
|
@ -106,3 +106,26 @@ jobs:
|
|||
run: |
|
||||
cd src/
|
||||
pipenv run coveralls --service=github
|
||||
|
||||
dockerfile-lint:
|
||||
name: "Lint ${{ matrix.dockerfile }}"
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
dockerfile:
|
||||
- Dockerfile
|
||||
- docker-builders/Dockerfile.qpdf
|
||||
- docker-builders/Dockerfile.jbig2enc
|
||||
- docker-builders/Dockerfile.psycopg2
|
||||
- docker-builders/Dockerfile.pikepdf
|
||||
fail-fast: false
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
-
|
||||
uses: hadolint/hadolint-action@v2.0.0
|
||||
with:
|
||||
failure-threshold: warning
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
ignore: DL3008,DL3013,DL3003
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue