Skip to content

Commit

Permalink
Add Hadolint to lint Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bregwin Jogi committed Jul 7, 2024
1 parent bcba0fd commit 1123b93
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ jobs:
- name: Run ESLint
run: npm run lint

# Lint our Dockerfile using Hadolint
dockerfile-lint:
name: Dockerfile Lint
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/hadolint-action
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile

unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1123b93

Please sign in to comment.