This commit is contained in:
an 2019-08-02 19:27:52 +02:00
parent 4726320d1a
commit 23978bb268
1 changed files with 18 additions and 14 deletions

View File

@ -35,18 +35,22 @@ steps:
registry: dr.dnix.de
auto_tag: true
tags: latest
- name: clair
image: ubuntu:18.04
environment:
CLAIR_ADDR: http://dev01.dnix.org:6060
CLAIR_OUTPUT: High
CLAIR_THRESHOLD: 10
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
- chmod 755 /usr/local/bin/klar
- klar dr.dnix.de/flokati
trigger:
event:
- tag
#- name: clair
#image: ubuntu:18.04
#environment:
#CLAIR_ADDR: http://dev01.dnix.org:6060
#CLAIR_OUTPUT: High
#CLAIR_THRESHOLD: 10
#REGISTRY_INSECURE: true
#co#mmands:
#- 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
#- chmod 755 /usr/local/bin/klar
#- klar dr.dnix.de/flokati