Update '.drone.yml' #1
35
.drone.yml
35
.drone.yml
@ -1,22 +1,23 @@
|
||||
platform: linux/arm64
|
||||
|
||||
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
|
||||
pipeline:
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
|
||||
registry: git.freifunk-rhein-sieg.net
|
||||
platform: linux/arm64
|
||||
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
|
||||
|
||||
validate_good:
|
||||
image: fftdf/docker-json-validate
|
||||
commands:
|
||||
- jsonlint test_val.json
|
||||
|
||||
validate_bad:
|
||||
image: fftdf/docker-json-validate
|
||||
commands:
|
||||
- jsonlint test_not_val.json
|
Loading…
Reference in New Issue
Block a user