Merge pull request #165 from martialblog/renovate/docker-login-action… #571
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: ${{ matrix.dockerfile }} | |
ignore: "DL4006,DL3008,DL3018" |