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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Hadolint
|
- name: Install Docker Compose
|
||||||
run: |
|
run: |
|
||||||
curl -LO https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64
|
sudo apt-get update
|
||||||
chmod +x hadolint-Linux-x86_64
|
sudo apt-get install -y docker-compose
|
||||||
sudo mv hadolint-Linux-x86_64 /usr/local/bin/hadolint
|
|
||||||
|
|
||||||
- name: Lint all docker-compose files
|
- name: Lint all docker-compose files
|
||||||
run: |
|
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