aboutsummaryrefslogtreecommitdiff
path: root/build/docker/images-build.sh
blob: e56422939a5dcbf542c8bef54bbd34b3c144ef97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

cd $(git rev-parse --show-toplevel)

TAG=${1:-latest}

echo "Building tag '${TAG}'"

docker build -t ghcr.io/element-hq/dendrite-monolith:binaries --target build .

docker build -t ghcr.io/element-hq/dendrite-monolith:${TAG} .

docker build -t ghcr.io/element-hq/dendrite-demo-yggdrasil:${TAG} -f build/docker/Dockerfile.demo-yggdrasil .
docker build -t ghcr.io/element-hq/dendrite-demo-pinecone:${TAG} -f build/docker/Dockerfile.demo-pinecone .