fix CI deploy: use kubectl set image instead of rollout restart
rollout restart re-pulls the same tag without updating it. Use set image with CI_PIPELINE_NUMBER to deploy the actual new build.
This commit is contained in:
parent
2fbca35e77
commit
44e1b84a5a
1 changed files with 1 additions and 1 deletions
|
|
@ -39,5 +39,5 @@ steps:
|
|||
depends_on:
|
||||
- build-and-push
|
||||
commands:
|
||||
- kubectl rollout restart deployment/claude-memory -n claude-memory
|
||||
- kubectl set image deployment/claude-memory claude-memory=viktorbarzin/claude-memory-mcp:${CI_PIPELINE_NUMBER} -n claude-memory
|
||||
- kubectl rollout status deployment/claude-memory -n claude-memory --timeout=120s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue