18 lines
416 B
YAML
18 lines
416 B
YAML
name: Lint Dockerfiles
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- SmartClinicManagementSystem/**
|
|
push:
|
|
paths:
|
|
- SmartClinicManagementSystem/**
|
|
jobs:
|
|
dockerlint:
|
|
runs-on: node20
|
|
name: Lint Dockerfiles
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Run hadolint
|
|
uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: ./SmartClinicManagementSystem/app/Dockerfile |