This commit is contained in:
an 2019-08-02 23:21:08 +02:00
parent 52771f3550
commit 09056f842e
1 changed files with 13 additions and 13 deletions

View File

@ -36,17 +36,17 @@ steps:
auto_tag: true auto_tag: true
tags: latest tags: latest
- name: clair #- name: clair
image: ubuntu:18.04 # image: ubuntu:18.04
#environment: # #environment:
#CLAIR_ADDR: http://dev01.dnix.org:6060 # #CLAIR_ADDR: http://dev01.dnix.org:6060
#CLAIR_OUTPUT: High # #CLAIR_OUTPUT: High
#CLAIR_THRESHOLD: 10 # #CLAIR_THRESHOLD: 10
#REGISTRY_INSECURE: true # #REGISTRY_INSECURE: true
commands: # commands:
- apt -y update # - apt -y update
- apt -y install curl # - 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 # - curl -Lo /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64
- chmod 755 /usr/local/bin/klar # - chmod 755 /usr/local/bin/klar
- CLAIR_ADDR=http://192.168.1.119:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=1 REGISTRY_INSECURE=true klar dr.dnix.de/flokati # - CLAIR_ADDR=http://192.168.1.119:6060 CLAIR_OUTPUT=High CLAIR_THRESHOLD=1 REGISTRY_INSECURE=true klar dr.dnix.de/flokati