quant-platform/.drone.yml

16 lines
390 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

kind: pipeline
type: docker
name: quant-ci
steps:
- name: build docker image
image: docker:20.10
commands:
# 构建镜像tag 使用 commit sha
- docker build -t registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA} .
# 推送镜像到匿名 registry
- docker push registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA}
trigger:
branch:
- main