22 lines
538 B
YAML
22 lines
538 B
YAML
|
|
kind: pipeline
|
|
name: docker-json-validate build
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
|
|
registry: git.freifunk-rhein-sieg.net
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
- name: validate json good
|
|
image: fftdf/docker-json-validate
|
|
commands:
|
|
- jsonlint test_val.json
|
|
- name: validate json bad
|
|
image: fftdf/docker-json-validate
|
|
commands:
|
|
- jsonlint test_not_val.json |