mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Add Hadolint to Github Lint action (#1518)
* Lint `Dockerfile` and `docker-compose.yml` * Closes #1458
This commit is contained in:
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@@ -31,3 +31,13 @@ jobs:
|
||||
- name: Lint
|
||||
run: make lint
|
||||
|
||||
- name: Lint Dockerfile
|
||||
uses: brpaz/hadolint-action@master
|
||||
with:
|
||||
dockerfile: "Dockerfile"
|
||||
|
||||
- name: Lint docker-compose
|
||||
run: |
|
||||
python -m pip install docker-compose==1.26.0
|
||||
docker-compose -f docker-compose.yml config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user