chore: 简化 kaniko 配置,使用 destination
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-03-23 12:12:00 +00:00
parent 14fcb55e51
commit 69609352ba

View File

@@ -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: .