Update '.drone.yml' #1
17
.drone.yml
17
.drone.yml
@ -1,22 +1,23 @@
|
||||
platform: linux/arm64
|
||||
|
||||
kind: pipeline
|
||||
name: docker-json-validate build
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
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
|
||||
|
||||
validate_good:
|
||||
image: fftdf/docker-json-validate
|
||||
commands:
|
||||
- jsonlint test_val.json
|
||||
- name: validate json bad
|
||||
|
||||
validate_bad:
|
||||
image: fftdf/docker-json-validate
|
||||
commands:
|
||||
- jsonlint test_not_val.json
|
Loading…
Reference in New Issue
Block a user