Skip to content

Commit

Permalink
add docker linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sagnik3788 committed Oct 5, 2024
1 parent 101557c commit 9e09b66
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker Linting

on:
push:
branches:
- master

jobs:
docker-lint:
runs-on: ubuntu-latest
container:
image: hadolint/hadolint:latest-debian

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Lint Dockerfiles
run: |
find . -name 'Dockerfile' -print0 | xargs -0 -n1 hadolint
Binary file added bin/act
Binary file not shown.

0 comments on commit 9e09b66

Please sign in to comment.