Moved to Hadolint
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 4s
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 4s
This commit is contained in:
parent
c712ec1b12
commit
b7b51e6159
@ -16,12 +16,12 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install docker-compose-linter
|
- name: Install Hadolint
|
||||||
run: |
|
run: |
|
||||||
curl -LO https://github.com/rrreeeyyy/docker-compose-linter/releases/download/v0.3.0/docker-compose-linter-linux
|
curl -LO https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64
|
||||||
chmod +x docker-compose-linter-linux
|
chmod +x hadolint-Linux-x86_64
|
||||||
sudo mv docker-compose-linter-linux /usr/local/bin/docker-compose-linter
|
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 docker-compose-linter {} \;
|
find . -name 'docker-compose.yml' -exec hadolint {} \;
|
Loading…
Reference in New Issue
Block a user