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

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

TAG=${1:-latest}

echo "Building tag '${TAG}'"

docker build . --target monolith -t matrixdotorg/dendrite-monolith:${TAG}
docker build . --target polylith -t matrixdotorg/dendrite-monolith:${TAG}
docker build . --target demo-pinecone -t matrixdotorg/dendrite-demo-pinecone:${TAG}
docker build . --target demo-yggdrasil -t matrixdotorg/dendrite-demo-yggdrasil:${TAG}