This commit is contained in:
xiongxiao
2026-01-19 21:53:29 +08:00
parent 0993a14b24
commit 4788d3e0f9
10 changed files with 168 additions and 2 deletions

9
deploy.sh Normal file
View File

@@ -0,0 +1,9 @@
docker build -t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:latest .
docker push ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:latest
echo "${KUBECONFIG_DATA}" | base64 -d > ~/.kube/config
kubectl config use-context dev-context
kubectl rollout restart deployment/blog -n default