This commit is contained in:
parent
c8d0058452
commit
d459f165ea
1 changed files with 16 additions and 5 deletions
21
.drone.yml
21
.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
|
||||
commands:
|
||||
- compose-lint .
|
||||
- name: lint-docker-compose
|
||||
image: docker/compose:1.29.2
|
||||
commands:
|
||||
- docker-compose -f docker-compose.yml config
|
||||
|
|
Reference in a new issue