Update .drone.yml
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-07-01 14:10:54 +00:00
parent 4676669ac6
commit c32ce3b684
+2 -1
View File
@@ -18,6 +18,7 @@ steps:
repo: ccr.ccs.tencentyun.com/violin/violin-cv
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
dockerfile: Dockerfile
context: .
registry: ccr.ccs.tencentyun.com
@@ -29,4 +30,4 @@ steps:
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:latest
- kubectl -n violin set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:${DRONE_COMMIT_SHA:0:8}