Skip to content

Commit 6e1487b

Browse files
ci: add linting of the Dockerfile (#165)
1 parent 26a5247 commit 6e1487b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/build_pull_request.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ on:
44
pull_request:
55

66
jobs:
7+
lint_dockerfile:
8+
name: Lint Dockerfile
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
name: Checkout github repository
13+
uses: actions/checkout@v6
14+
-
15+
name: Lint Dockerfile with hadolint
16+
uses: hadolint/hadolint-action@v3.3.0
17+
with:
18+
dockerfile: Dockerfile
19+
720
check_build:
821
runs-on: ubuntu-latest
922
steps:

0 commit comments

Comments
 (0)