From 976c9f0e66de8a1404efecff1433d4da47a5c609 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Fri, 2 Aug 2019 11:26:36 +0200 Subject: [PATCH] fuck clair plugin --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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