fix: add clone step with git credentials
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
16
.drone.yml
16
.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:
|
||||
|
||||
Reference in New Issue
Block a user