--- name: Lint Dockerfile on: [push, pull_request] jobs: lint: name: Lint Dockerfile with hadolint strategy: matrix: dockerfile: - 3.0/apache/Dockerfile - 3.0/fpm-alpine/Dockerfile - 3.0/fpm/Dockerfile - 5.0/apache/Dockerfile - 5.0/fpm-alpine/Dockerfile - 5.0/fpm/Dockerfile runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: hadolint/hadolint-action@v1.5.0 with: dockerfile: ${{ matrix.dockerfile }} ignore: DL4006 DL3008 DL3018