Skip to content

Commit

Permalink
Rename hadolint.yaml as hadolint.rules to avoid GitHub trying to run …
Browse files Browse the repository at this point in the history
…it as CI (#44)

* Rename hadolint.yaml as hadolint.rules to avoid GitHub trying to run it as CI

* Test

* Test ok
  • Loading branch information
Antiz96 authored Jan 22, 2024
1 parent c948366 commit 688e1bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: find . -name '*.sh' -exec shellcheck --color=always {} +

- name: Run hadolint
run: docker run --rm -i -v "${PWD}"/.github/workflows/hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < Dockerfile
run: docker run --rm -i -v "${PWD}"/.github/workflows/hadolint.rules:/.config/hadolint.yaml hadolint/hadolint < Dockerfile

- name: Cleanup docker images
run: docker image prune -af
File renamed without changes.

0 comments on commit 688e1bc

Please sign in to comment.