We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f245697 commit a7c7496Copy full SHA for a7c7496
.github/workflows/python-app.yml
@@ -22,6 +22,14 @@ jobs:
22
- name: Run Black Linter
23
run: |
24
black --check .
25
+ - name: Lint Dockerfiles
26
+ continue-on-error: true # Continue workflow even if linting fails
27
+ run: |
28
+ echo "Linting Dockerfile.app:"
29
+ docker run --rm -i hadolint/hadolint < Dockerfile.app || true
30
+ echo "-------------------"
31
+ echo "Linting Dockerfile.ollama:"
32
+ docker run --rm -i hadolint/hadolint < Dockerfile.ollama || true
33
34
build-and-test:
35
needs: lint
0 commit comments