aboutsummaryrefslogtreecommitdiff
path: root/build/docker/images-build.sh
blob: 69afa90d1d591e8b0026b40af502183e06681a1e (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:buildcache --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 .