From 35e8b60e1466ea2d929ab49a85573e85790de31b Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Fri, 26 Dec 2025 17:20:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E9=A1=B6=E5=B1=82=20s?= =?UTF-8?q?ecret=20=E6=96=B9=E5=BC=8F=E5=AF=BC=E5=85=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E8=A7=84=E9=81=BF=20podman=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F=E5=BC=95=E5=85=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index b4c67d8..e83793e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,9 +34,9 @@ steps: environment: REGISTRY_SERVER: "swr.cn-north-4.myhuaweicloud.com" REGISTRY_USER: - from_secret: swr_username + from_secret: secrets/data/swr_username REGISTRY_PASSWORD: - from_secret: swr_password + from_secret: secrets/swr_password commands: - | echo "Logging into registry..." @@ -115,17 +115,3 @@ steps: podman system prune -af || true when: status: [success, failure] # 成功/失败都执行清理 - ---- -kind: secret -name: swr_username -get: - path: secrets/data/docker - name: swr_username - ---- -kind: secret -name: swr_password -get: - path: secrets/data/docker - name: swr_password