Add Hadolint to Github Lint action (#1518)

* Lint `Dockerfile` and `docker-compose.yml`
* Closes #1458
This commit is contained in:
Kevin Chung
2020-06-29 01:31:34 -04:00
committed by GitHub
parent b247b1eb47
commit e547e98d35

View File

@@ -31,3 +31,13 @@ jobs:
- name: Lint - name: Lint
run: make 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