diff --git a/.drone.yml b/.drone.yml index dc6d58c..452b8f1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,6 +37,8 @@ steps: tags: latest - name: clair - image: jmccann/drone-clair:1 - url: http://dev01.dnix.org:6060 - scan_image: dr.dnix.de/flokati + image: ubuntu:18.04 + commands: + - curl -o /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64 + - chmod -x /usr/local/bin/klar + - CLAIR_ADDR=dev01:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=10 REGISTRY_INSECURE=true klar dr.dnix.de/flokati:latest