docker-json-validate/.drone.yml

22 lines
538 B
YAML
Raw Permalink 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:
2023-04-29 08:55:28 +00:00
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
registry: git.freifunk-rhein-sieg.net
2021-02-06 12:30:12 +00:00
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