aboutsummaryrefslogtreecommitdiff
path: root/build/docker/images-build.sh
blob: 1a83261516bc4568fd07e242dea1344280c9fc48 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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}