add build and deploy script
Build image / build (push) Waiting to run
Details
Build image / build (push) Waiting to run
Details
This commit is contained in:
parent
9e94f41512
commit
5f44c226f8
|
@ -15,6 +15,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p .",
|
"build": "tsc -p .",
|
||||||
"start": "NODE_PATH=./dist node dist/index.js"
|
"start": "NODE_PATH=./dist node dist/index.js",
|
||||||
|
"buildandpush": "docker buildx build --push --platform=linux/amd64,linux/arm64 -t git.fai.st/bizcochito/bizcochito.onion .",
|
||||||
|
"deploy": "npm run buildandpush && sleep 3 && kubectl rollout restart deploy/web -n web"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue