This commit is contained in:
Andreas Neue 2019-08-02 12:17:37 +02:00
parent 61ec652241
commit 9a54c99690
1 changed files with 5 additions and 8 deletions

View File

@ -37,11 +37,8 @@ steps:
tags: latest tags: latest
- name: clair - name: clair
image: phusion/baseimage:latest image: poke/drone-clair:latest
commands: scan_image: dr.dnix.de/flokati
- apt update -y output: High
- apt -y install curl threshold: 1
- curl -Lo /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64 secrets: [clair_url]
- 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