diff --git a/.drone.yml b/.drone.yml index a52ea7d..b85e25d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi -- name: kaniko +- name: build-app image: banzaicloud/drone-kaniko settings: registry: registry.kmlabz.com @@ -34,7 +34,7 @@ steps: - cd docs - make html -- name: kaniko +- name: build-docs image: banzaicloud/drone-kaniko settings: dockerfile: docs/Dockerfile