This commit is contained in:
guanxiangwei
2026-08-27 11:27:47 +09:00
parent 1fead85505
commit 060b7bf1fa
16 changed files with 1321 additions and 22 deletions
-21
View File
@@ -10,24 +10,3 @@ trigger:
- push
branch:
- master
steps:
- name: prod-build-image
image: ccr.ccs.tencentyun.com/violin/drone-kaniko:latest
settings:
repo: ccr.ccs.tencentyun.com/violin/violin-cv
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
dockerfile: Dockerfile
context: .
registry: ccr.ccs.tencentyun.com
username: 100024540033
password:
from_secret: docker_password
- name: prod-deploy
image: ccr.ccs.tencentyun.com/violin/kubectl:latest
cluster: kubernetes
commands:
- kubectl -n violin set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:${DRONE_COMMIT_SHA:0:8}