diff --git a/.drone.yml b/.drone.yml index 27b3023..076b67c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,13 +16,8 @@ steps: - name: dev-clone image: ccr.ccs.tencentyun.com/violin/git-alpine:latest commands: - - git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@gitea.violin-work.online/sales/todo-backend.git /repo + - git clone https://gitea.violin-work.online/sales/todo-backend.git /repo - cd /repo && git checkout ${DRONE_COMMIT_SHA} - environment: - GIT_USERNAME: - from_secret: git_username - GIT_PASSWORD: - from_secret: git_password - name: dev-build image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22 @@ -68,13 +63,8 @@ steps: - name: prod-clone image: ccr.ccs.tencentyun.com/violin/git-alpine:latest commands: - - git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@gitea.violin-work.online/sales/todo-backend.git /repo + - git clone https://gitea.violin-work.online/sales/todo-backend.git /repo - cd /repo && git checkout ${DRONE_COMMIT_SHA} - environment: - GIT_USERNAME: - from_secret: git_username - GIT_PASSWORD: - from_secret: git_password - name: prod-build image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22