This commit is contained in:
parent
c8d0058452
commit
d459f165ea
1 changed files with 16 additions and 5 deletions
19
.drone.yml
19
.drone.yml
|
@ -1,8 +1,19 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: docker-compose-lint
|
||||
type: docker
|
||||
name: lint-docker-compose
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: lint
|
||||
image: drone/compose-lint:latest
|
||||
- name: lint-docker-compose
|
||||
image: docker/compose:1.29.2
|
||||
commands:
|
||||
- compose-lint .
|
||||
- docker-compose -f docker-compose.yml config
|
||||
|
|
Reference in a new issue