From d57df76616de5d9bc5028f0bf5fefd6e371a54ec Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 21 Mar 2026 14:13:38 +0000 Subject: [PATCH] fix: add clone step with git credentials --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7330d2d..e89b93c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,14 @@ trigger: - dev steps: + - name: clone + image: alpine/git + settings: + username: + from_secret: git_username + password: + from_secret: git_password + - name: build image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22 commands: @@ -49,6 +57,14 @@ trigger: - master steps: + - name: clone + image: alpine/git + settings: + username: + from_secret: git_username + password: + from_secret: git_password + - name: build image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22 commands: