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
|
- dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: git_username
|
||||||
|
password:
|
||||||
|
from_secret: git_password
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||||
commands:
|
commands:
|
||||||
@@ -49,6 +57,14 @@ trigger:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: git_username
|
||||||
|
password:
|
||||||
|
from_secret: git_password
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
Reference in New Issue
Block a user