feat(ci): add hadolint workflow with step-level continue-on-error
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
name: Hadolint
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hadolint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@df4cb1c069e1874edd31b4143172cec0e10 # v6
|
||||||
|
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2221d575162ebab76ba5e5 # v3.3.0
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
failure-threshold: error
|
||||||
Reference in New Issue
Block a user