Moved to Composer
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 14s
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 14s
This commit is contained in:
parent
394cd61832
commit
1c5d119438
@ -16,12 +16,11 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Hadolint
|
||||
- name: Install Docker Compose
|
||||
run: |
|
||||
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
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Lint all docker-compose files
|
||||
run: |
|
||||
find . -name 'docker-compose.yml' -exec hadolint {} \;
|
||||
find . -name 'docker-compose.yml' -exec docker-compose -f {} config --quiet \;
|
Loading…
Reference in New Issue
Block a user