fix: use default clone with repo-level credentials
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
22
.drone.yml
22
.drone.yml
@@ -1,7 +1,6 @@
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
name: build-and-deploy-dev
|
||||
|
||||
trigger:
|
||||
@@ -11,14 +10,6 @@ trigger:
|
||||
- dev
|
||||
|
||||
steps:
|
||||
- name: dev-clone
|
||||
image: ccr.ccs.tencentyun.com/violin/git-alpine:latest
|
||||
settings:
|
||||
username:
|
||||
from_secret: git_username
|
||||
password:
|
||||
from_secret: git_password
|
||||
|
||||
- name: dev-build
|
||||
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||
commands:
|
||||
@@ -48,8 +39,7 @@ steps:
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
name: build-and-deploy-prod
|
||||
|
||||
trigger:
|
||||
@@ -59,14 +49,6 @@ trigger:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: prod-clone
|
||||
image: ccr.ccs.tencentyun.com/violin/git-alpine:latest
|
||||
settings:
|
||||
username:
|
||||
from_secret: git_username
|
||||
password:
|
||||
from_secret: git_password
|
||||
|
||||
- name: prod-build
|
||||
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user