kind: pipeline type: docker name: default clone: disable: true # 私有镜像拉取凭证密钥 image_pull_secrets: - docker_auth_config steps: - name: run-ai image: registry.buyusdt.xyz/ai-modelscope:latest network_mode: host commands: - echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts - git clone https://git.buyusdt.xyz/bmy/ai-hand - cd /drone/src/ai-hand/ && uvicorn main:app --reload --host '0.0.0.0' --port 9741