Skip to content

Merge pull request #169 from martialblog/renovate/actions-checkout-di… #593

Merge pull request #169 from martialblog/renovate/actions-checkout-di…

Merge pull request #169 from martialblog/renovate/actions-checkout-di… #593

---
name: Lint Dockerfile
on: [push, pull_request]
jobs:
lint:
name: Lint Dockerfile with hadolint
strategy:
matrix:
dockerfile:
- 5.0/apache/Dockerfile
- 5.0/fpm-alpine/Dockerfile
- 5.0/fpm/Dockerfile
- 6.0/apache/Dockerfile
- 6.0/fpm-alpine/Dockerfile
- 6.0/fpm/Dockerfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: hadolint/[email protected]
with:
dockerfile: ${{ matrix.dockerfile }}
ignore: "DL4006,DL3008,DL3018"