Skip to content

Commit

Permalink
added hadolint check to 5_prototype_analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zmm committed Jul 26, 2024
1 parent 432d19b commit 30c6118
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/5_prototype_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ jobs:
name: Check out current commit
with:
fetch-depth: 0

- name: There are at least one Dockerfile
run: |
if ! find ./ | grep -q 'Dockerfile$'
then
echo "::error:: Не найдены файлы с названием Dockerfile."
exit 1
fi
- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
recursive: true
failure-threshold: error
override-error: DL3006, DL3000, DL3007, DL3008, DL3009, DL3013, DL3016, DL3018, DL3020, DL3028, DL3037, DL3047, DL4001, DL4003, DL4004

- name: Build docker-compose
run: |
Expand Down

0 comments on commit 30c6118

Please sign in to comment.