fuck clair plugin

This commit is contained in:
Andreas Neue 2019-08-02 11:26:36 +02:00
parent 5cfa76dbcd
commit 976c9f0e66
1 changed files with 5 additions and 3 deletions

View File

@ -37,6 +37,8 @@ steps:
tags: latest tags: latest
- name: clair - name: clair
image: jmccann/drone-clair:1 image: ubuntu:18.04
url: http://dev01.dnix.org:6060 commands:
scan_image: dr.dnix.de/flokati - 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