SCANDOCKER-43 Update embedded Scanner CLI to 6.2.1 #268
Workflow file for this run
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: "linter" | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**/Dockerfile' | |
jobs: | |
v5: | |
name: Dockerfile-Linting | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Pull HaDoLint image | |
run: docker pull hadolint/hadolint | |
- name: Lint Dockerfile | |
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3018 --ignore DL4001 --ignore DL3013 --ignore SC2015 --ignore DL3008 --ignore DL3041 --ignore DL3020 - < ./Dockerfile |