From 545b4fae80807dd11d61a7eeea32ea2506649657 Mon Sep 17 00:00:00 2001 From: ai-liuys Date: Sat, 21 Feb 2026 17:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=B5=81=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index bc02317..120b8ef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,13 +2,20 @@ 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: - # 构建镜像,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: