From 119a9ff88cfd070135e483ea84f97e07abc37f83 Mon Sep 17 00:00:00 2001 From: lixin Date: Fri, 10 Jan 2025 16:19:27 +0800 Subject: [PATCH] =?UTF-8?q?ci(.drone.yml):=20=E6=9B=B4=E6=96=B0=20Docker?= =?UTF-8?q?=20=E8=BF=90=E8=A1=8C=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了多余的空行 - 在 docker run 命令中添加了 --network 参数,指定使用 tycm-server_test-network 网络 - 删除了不必要的 plugins/docker 镜像引用 --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a48f99c..7463c78 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,11 +12,9 @@ steps: tags: - latest mirror: https://docker.1panelproxy.com - - - name: docker-run-step - image: plugins/docker commands: - - docker run -d -p 8001:8001 --name automated-api --restart unless-stopped automated-api:latest + - docker run -d -p 8001:8001 --network tycm-server_test-network --name automated-api --restart unless-stopped automated-api:latest + trigger: branch: