* chore(helm): splitting utilities 1. peers -> handle peerjs connections 2. assist -> handle ws connections Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> * build(utilities): rename utilities to assist Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> * chore(build_deploy): include peers Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
22 lines
514 B
Bash
22 lines
514 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# This script will build and push docker image to registry
|
|
|
|
# Usage: IMAGE_TAG=latest DOCKER_REPO=rg.fr-par.scw.cloud/foss bash build_deploy.sh
|
|
|
|
echo $DOCKER_REPO
|
|
[[ -z DOCKER_REPO ]] && {
|
|
echo Set DOCKER_REPO="your docker registry"
|
|
exit 1
|
|
} || {
|
|
docker login $DOCKER_REPO
|
|
cd ../../api
|
|
PUSH_IMAGE=1 bash build.sh $@
|
|
cd ../backend
|
|
PUSH_IMAGE=1 bash build.sh $@
|
|
cd ../utilities
|
|
PUSH_IMAGE=1 bash build.sh $@
|
|
cd ../peers
|
|
PUSH_IMAGE=1 bash build.sh $@
|
|
}
|