diff --git a/.drone.yml b/.drone.yml index c544c45..b5b259b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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