add clair image scan
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2752d85903
commit
93060b3181
|
@ -2,7 +2,7 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: prebuild
|
||||
- name: build
|
||||
image: golang:latest
|
||||
commands:
|
||||
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME
|
||||
|
@ -26,6 +26,8 @@ steps:
|
|||
- echo "\"" >>$VERSIONGO
|
||||
- echo ")" >>$VERSIONGO
|
||||
- cat $VERSIONGO
|
||||
- go build
|
||||
- go test
|
||||
- echo -n "$BRANCH-$REV" >$TAGS
|
||||
|
||||
- name: docker
|
||||
|
@ -35,3 +37,8 @@ steps:
|
|||
registry: dr.dnix.de
|
||||
auto_tag: true
|
||||
tags: latest
|
||||
|
||||
- name: clair
|
||||
image: jmccann/drone-clair:1
|
||||
url: http://dev01:6060
|
||||
scan_image: dr.dnix.de/flokati
|
||||
|
|
Loading…
Reference in New Issue