Skip to content

Commit

Permalink
fix shellcheck SC2044
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed May 10, 2024
1 parent fc91a7f commit 8f90170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/checkout@v4
- name: Lint Dockerfile
run: |
for d in $(find . -type f -name "Dockerfile" -exec dirname {} \;); do
(cd ${d} && hadolint Dockerfile)
find . -type f -name "Dockerfile" -exec dirname {} \; | while read -r d; do
(cd "${d}" && hadolint Dockerfile)
done

0 comments on commit 8f90170

Please sign in to comment.