ci: add lint workflow with hadolint

This commit is contained in:
2026-06-13 21:23:09 -04:00
parent d17bf38f44
commit 34933d49da
+22
View File
@@ -0,0 +1,22 @@
name: Lint
on:
pull_request:
branches: [main]
paths:
- 'pkg/Dockerfile'
- 'Dockerfile'
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
- name: Run hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: pkg/Dockerfile