kind: pipeline type: docker name: default clone: disable: true extra_hosts: - "git.buyusdt.xyz:192.168.31.100" steps: - name: myclone image: 2271608011/bmygit:v1 commands: - echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts - git clone https://git.buyusdt.xyz/bmy/xiezheng.git - name: pc-dev image: node:22.2.0 network_mode: host commands: - cd /drone/src/xiezheng/ - npm config set registry https://registry.npmmirror.com - npm install - npm run dev