zed/script/deploy-migration
Nathan Sobo 1537500fcb Include contents of the zed-server repo
We're going full monorepo.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-12 14:14:39 -06:00

12 lines
202 B
Bash
Executable File

#!/bin/bash
set -e
IMAGE_ID=registry.digitalocean.com/zed/zed-migrator
docker build . \
--file ./Dockerfile.migrator \
--tag $IMAGE_ID
docker push $IMAGE_ID
kubectl apply -f ./server/migrate.yml