mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
1537500fcb
We're going full monorepo. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
18 lines
355 B
Bash
Executable File
18 lines
355 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Prerequisites:
|
|
#
|
|
# - Log in to the DigitalOcean docker registry
|
|
# doctl registry login
|
|
#
|
|
# - Set the default K8s context to production
|
|
# doctl kubernetes cluster kubeconfig save zed-1
|
|
|
|
set -e
|
|
|
|
IMAGE_ID=registry.digitalocean.com/zed/zed-server
|
|
|
|
docker build . --tag $IMAGE_ID
|
|
docker push $IMAGE_ID
|
|
kubectl rollout restart deployment zed
|