docker-json-validate/.drone.yml

21 lines
455 B
YAML
Raw Normal View History

2021-02-06 12:30:12 +00:00
kind: pipeline
name: docker-json-validate build
steps:
- name: docker
image: plugins/docker
settings:
repo: fftdf/docker-json-validate
username:
from_secret: docker_username
password:
2021-02-06 16:42:34 +00:00
from_secret: docker_password
- name: validate json good
image: fftdf/docker-json-validate
2021-02-06 16:43:45 +00:00
commands:
2021-02-06 16:46:46 +00:00
- jsonlint test_val.json
- name: validate json bad
image: fftdf/docker-json-validate
commands:
- jsonlint test_not_val.json