diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d218b08..0c876d9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -22,6 +22,14 @@ jobs: - name: Run Black Linter run: | black --check . + - name: Lint Dockerfiles + continue-on-error: true # Continue workflow even if linting fails + run: | + echo "Linting Dockerfile.app:" + docker run --rm -i hadolint/hadolint < Dockerfile.app || true + echo "-------------------" + echo "Linting Dockerfile.ollama:" + docker run --rm -i hadolint/hadolint < Dockerfile.ollama || true build-and-test: needs: lint