Update '.drone.yml'
This commit is contained in:
parent
151fc66a21
commit
cc5ddd58af
12
.drone.yml
12
.drone.yml
@ -2,9 +2,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: docker-json-validate build
|
name: docker-json-validate build
|
||||||
|
|
||||||
steps:
|
pipeline:
|
||||||
- name: docker
|
docker:
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
|
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
|
||||||
registry: git.freifunk-rhein-sieg.net
|
registry: git.freifunk-rhein-sieg.net
|
||||||
@ -12,11 +12,13 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
- name: validate json good
|
|
||||||
|
validate_good:
|
||||||
image: fftdf/docker-json-validate
|
image: fftdf/docker-json-validate
|
||||||
commands:
|
commands:
|
||||||
- jsonlint test_val.json
|
- jsonlint test_val.json
|
||||||
- name: validate json bad
|
|
||||||
|
validate_bad:
|
||||||
image: fftdf/docker-json-validate
|
image: fftdf/docker-json-validate
|
||||||
commands:
|
commands:
|
||||||
- jsonlint test_not_val.json
|
- jsonlint test_not_val.json
|
Loading…
Reference in New Issue
Block a user