cnbcool/keenlab-sensitive-upload:latest
UPLOAD_TOKEN:string 必填,用于后期结果上传校验BODY_JSON:string 必填,上传的结果,json 格式"master":
push:
- docker:
image: tencentcom/arrowhead:latest
stages:
- name: run arrowhead-cnb
script: arrowhead-cnb --output code_sensitive.json ./
- name: report
script: cat code_sensitive.json
- name: upload code sensitive
image: cnbcool/keenlab-sensitive-upload:latest
setting:
UPLOAD_TOKEN: ${UPLOAD_TOKEN}
BODY_JSON: ${BODY_JSON}