diff --git a/.drone.yml b/.drone.yml index 7e14a3b..ea2eb07 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,13 +27,7 @@ steps: # 使用 plugin/kaniko image: ccr.ccs.tencentyun.com/violin/drone-kaniko:latest settings: - username: 100024540033 - password: - from_secret: docker_password - repo: ccr.ccs.tencentyun.com/violin/todo-backend - tags: - - latest - - ${DRONE_COMMIT_SHA:0:8} + destination: ccr.ccs.tencentyun.com/violin/todo-backend:latest dockerfile: Dockerfile context: . @@ -76,12 +70,7 @@ steps: ## image: ccr.ccs.tencentyun.com/violin/drone-kaniko:latest settings: - username: 100024540033 - password: - from_secret: docker_password - repo: ccr.ccs.tencentyun.com/violin/todo-backend - tags: - - v1.0.0 + destination: ccr.ccs.tencentyun.com/violin/todo-backend:v1.0.0 dockerfile: Dockerfile context: .