Cortex-Analyzers/.drone.yml
2019-04-05 14:15:29 +02:00

47 lines
1.2 KiB
YAML

---
kind: pipeline
name: default
steps:
- name: build analyzers for release
image: thehiveproject/cortex-worker-builder
settings:
worker_path: analyzers
namespace: cortexneurons
user: {from_secret: docker_username}
password: {from_secret: docker_password}
stable: true
when:
event: [tag]
- name: build responders for release
image: thehiveproject/cortex-worker-builder
settings:
worker_path: responders
namespace: cortexneurons
user: {from_secret: docker_username}
password: {from_secret: docker_password}
stable: true
when:
event: [tag]
- name: build snapshot analyzers
image: thehiveproject/cortex-worker-builder
settings:
worker_path: analyzers
namespace: cortexneurons
user: {from_secret: docker_username}
password: {from_secret: docker_password}
when:
event: {exclude: [tag]}
- name: build snapshot responders
image: thehiveproject/cortex-worker-builder
settings:
worker_path: responders
namespace: cortexneurons
user: {from_secret: docker_username}
password: {from_secret: docker_password}
when:
event: {exclude: [tag]}