From 0e74734636a891c60a3e94473dd72dba407fdace Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:59:09 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=83=A8=E7=BD=B2=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20alpine-openssh=20=E9=95=9C=E5=83=8F?= =?UTF-8?q?=EF=BC=8C=E7=9C=81=E5=8E=BB=E6=AF=8F=E6=AC=A1=20apk=20add=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=20SSH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7d0cf3e..a2a53ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -254,7 +254,7 @@ steps: # ===================== Test:部署到测试服务器 ===================== - name: deploy-test - image: 192.168.31.253/library/alpine:latest + image: 192.168.31.253/library/alpine-openssh:latest environment: DEPLOY_IMAGE: "192.168.31.253/yescent/${DRONE_REPO_NAME}" APP_PORT: "9012" @@ -269,9 +269,6 @@ steps: echo "====== 部署测试环境 ======" source /drone/src/.version.env - # 安装新版 openssh-client - apk add --no-cache openssh-client - mkdir -p ~/.ssh chmod 700 ~/.ssh # 使用 printf 确保换行符正确写入 @@ -340,7 +337,7 @@ steps: branch: [main] - name: deploy-main - image: 192.168.31.253/library/alpine:latest + image: 192.168.31.253/library/alpine-openssh:latest environment: DEPLOY_IMAGE: "192.168.31.253/yescent/${DRONE_REPO_NAME}" APP_PORT: "9012" @@ -355,9 +352,6 @@ steps: echo "====== 部署生产环境 ======" source /drone/src/.version.env - # 安装新版 openssh-client - apk add --no-cache openssh-client - mkdir -p ~/.ssh chmod 700 ~/.ssh # 使用 printf 确保换行符正确写入