From 00af6356be44f6d9256a9f81fe2bea161f5454b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Wed, 18 Dec 2024 19:28:40 +0800 Subject: [PATCH] network_mode --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc9de72..54f4ce3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,15 +2,13 @@ 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.2 + network_mode: host commands: - echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts - git clone https://git.buyusdt.xyz/bmy/xiezheng.git