Update cd build scripts
This commit is contained in:
parent
241486fc4f
commit
1b4ffeae2b
@ -9,8 +9,8 @@
|
||||
"lint": "eslint . --ext .ts",
|
||||
"lint:fix": "eslint --fix . --ext .ts",
|
||||
"preview": "vite preview",
|
||||
"cd:build": "pnpm run build && docker image build . -t glmdev/mathy",
|
||||
"cd:push": "docker push glmdev/mathy",
|
||||
"cd:build": "pnpm run build && docker image build . -t ${DOCKER_REGISTRY}:glmdev/mathy",
|
||||
"cd:push": "docker push ${DOCKER_REGISTRY}:glmdev/mathy",
|
||||
"cd:deploy": "kubectl apply -f deploy/deploy.yaml",
|
||||
"cd:rollout": "kubectl rollout restart deployment/mathy",
|
||||
"cd": "pnpm run cd:build && pnpm run cd:push && pnpm run cd:rollout"
|
||||
|
Loading…
Reference in New Issue
Block a user