We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 178e3fc commit fe5c223Copy full SHA for fe5c223
.github/workflows/hadolint.yml
@@ -0,0 +1,32 @@
1
+# Runs linter for Docker files
2
+name: Hadolint
3
+
4
+on:
5
+ workflow_dispatch:
6
+ push:
7
+ pull_request:
8
+ paths:
9
+ - '.github/docker/*Dockerfile'
10
+ - '.github/workflows/hadolint.yml'
11
12
+concurrency:
13
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14
+ cancel-in-progress: true
15
16
+permissions:
17
+ contents: read
18
19
+jobs:
20
+ linux:
21
+ name: Hadolint
22
+ runs-on: ubuntu-latest
23
24
+ steps:
25
+ - name: Clone the git repo
26
+ uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27
28
+ - name: Run Hadolint
29
+ uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
30
+ with:
31
+ recursive: true
32
+ dockerfile: ".github/docker/*Dockerfile"
0 commit comments