Add hadolinter.
This commit is contained in:
parent
b6a38f79e3
commit
dafe02a1e5
3 changed files with 16 additions and 0 deletions
13
.github/workflows/lint-dockerfiles.yml
vendored
Normal file
13
.github/workflows/lint-dockerfiles.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
name: Lint dockerfiles
|
||||
jobs:
|
||||
lintDockerFiles:
|
||||
name: Lint docker files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Lint docker files
|
||||
uses: docker://cdssnc/docker-lint
|
||||
3
.hadolint.yml
Normal file
3
.hadolint.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ignored:
|
||||
- DL3008
|
||||
- SC2043
|
||||
Loading…
Reference in a new issue