This commit is contained in:
Andreas Neue 2019-08-02 14:32:35 +02:00
parent 91a057cb08
commit 71e40258be
1 changed files with 11 additions and 6 deletions

View File

@ -37,10 +37,15 @@ steps:
tags: latest
- name: clair
image: jmccann/drone-clair:1
url: "http://dev01:6060"
scan_image: dr.dnix.de/flokati
username: ""
password: ""
image: ubuntu:18.04
environment:
CLAIR_URL: http://dev01:6060
CLAIR_ADDR: http://dev01:6060
CLAIR_OUTPUT: High
CLAIR_THRESHOLD: 1
REGISTRY_INSECURE: true
commands:
- apt -y update
- 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
- klar dr.dnix.de/flokati