Moved to Hadolint
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 4s

This commit is contained in:
Nyan404 2024-10-07 10:56:18 +03:00
parent c712ec1b12
commit b7b51e6159

View File

@ -16,12 +16,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install docker-compose-linter
- name: Install Hadolint
run: |
curl -LO https://github.com/rrreeeyyy/docker-compose-linter/releases/download/v0.3.0/docker-compose-linter-linux
chmod +x docker-compose-linter-linux
sudo mv docker-compose-linter-linux /usr/local/bin/docker-compose-linter
curl -LO https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64
chmod +x hadolint-Linux-x86_64
sudo mv hadolint-Linux-x86_64 /usr/local/bin/hadolint
- name: Lint all docker-compose files
run: |
find . -name 'docker-compose.yml' -exec docker-compose-linter {} \;
find . -name 'docker-compose.yml' -exec hadolint {} \;