-
Notifications
You must be signed in to change notification settings - Fork 1
Developer Notes
Kartikey Mamgain edited this page Mar 30, 2022
·
3 revisions
You can install database in a kubernetes cluster and port forward the service. example:
kubectl port-forward svc/hippo-pgbouncer 5432:5432 -n testing
Update the database details in bindings/postgres directory. Set the environment variable SERVICE_BINDING_ROOT to bindings directory.
export SERVICE_BINDING_ROOT=`pwd`/bindings
First login
echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
Build an image
docker build -t ghcr.io/shopbasket/shopbasket:latest .
Push and image
docker push ghcr.io/shopbasket/shopbasket:latest