Disable Hadolint rules #51
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: Lint and Security Check | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
shellcheck: | |
name: Lint Shell Scripts with ShellCheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
scandir: './1.1.21.2' | |
hadolint: | |
name: Lint Dockerfiles with Hadolint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run Hadolint with GitHub Action | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: 1.1.21.2/Dockerfile | |
failure-threshold: warning | |
ignore: DL3018,DL3003 | |
checkov: | |
name: Run Checkov for Dockerfile Security Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run Checkov with GitHub Action | |
uses: bridgecrewio/checkov-action@master | |
with: | |
directory: 1.1.21.2/ | |
quiet: false |