fix: use current directory for default clone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-03-22 01:56:15 +00:00
parent cd0807f1fc
commit e6cc7ff683

View File

@@ -22,12 +22,12 @@ steps:
- name: dev-build - name: dev-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:
- cd /repo && mvn clean package -DskipTests - mvn clean package -DskipTests
- name: dev-build-image - name: dev-build-image
image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64 image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64
commands: commands:
- docker build -t ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} /repo - docker build -t ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} .
- docker push ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} - docker push ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA}
settings: settings:
username: username: