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