From 9a54c996902ce0d43c9212bd7d7e715aee4f456c Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Fri, 2 Aug 2019 12:17:37 +0200 Subject: [PATCH] test --- .drone.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index db991a5..1d745e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,11 +37,8 @@ steps: tags: latest - name: clair - image: phusion/baseimage:latest - commands: - - apt update -y - - apt -y install curl - - curl -Lo /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 - - klar - #- CLAIR_ADDR=dev01:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=10 REGISTRY_INSECURE=true klar dr.dnix.de/flokati:latest + image: poke/drone-clair:latest + scan_image: dr.dnix.de/flokati + output: High + threshold: 1 + secrets: [clair_url]