From 848a729cca99933bb751ec6407cc330c26f69bcb Mon Sep 17 00:00:00 2001 From: lixin Date: Fri, 10 Jan 2025 12:25:38 +0800 Subject: [PATCH] =?UTF-8?q?ci(.drone.yml):=20=E6=9B=B4=E6=96=B0=20Docker?= =?UTF-8?q?=20=E9=95=9C=E5=83=8F=E5=B9=B6=E8=B0=83=E6=95=B4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 Docker 镜像名称,移除多余的 ":latest:latest" 标签 - 优化 .drone.yml 文件格式,调整缩进和空格 --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 100ef87..f8e212c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,7 +24,7 @@ steps: - name: run-container image: docker:latest commands: - - docker run -d -p 8001:8001 rz/automated_api:latest:latest + - docker run -d -p 8001:8001 rz/automated_api:latest volumes: - name: docker-socket @@ -33,6 +33,6 @@ volumes: trigger: branch: - - main + - main event: - - push \ No newline at end of file + - push \ No newline at end of file