Skip to content

Limit hadolint scan to 1.1.21.2 Dockerfile #11

Limit hadolint scan to 1.1.21.2 Dockerfile

Limit hadolint scan to 1.1.21.2 Dockerfile #11

Workflow file for this run

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
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
override-info: 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: .
quiet: false