quant-platform/.drone.yml
ai-liuys 545b4fae80
Some checks reported errors
continuous-integration/drone Build encountered an error
镜像构建测试流水线
2026-02-21 17:16:36 +08:00

23 lines
481 B
YAML

kind: pipeline
type: docker
name: quant-ci
services:
docker:
image: docker:20.10-dind
privileged: true
steps:
- name: build docker image
image: docker:20.10
privileged: true
environment:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_VERIFY: "0"
commands:
- docker build -t registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA} .
- docker push registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA}
trigger:
branch:
- main