2022-09-27 03:42:08 -05:00
|
|
|
#!/usr/bin/env bash
|
2020-05-21 07:02:28 -05:00
|
|
|
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
|
2020-10-20 05:34:22 -05:00
|
|
|
TAG=${1:-latest}
|
2020-05-21 07:02:28 -05:00
|
|
|
|
2020-10-20 05:34:22 -05:00
|
|
|
echo "Building tag '${TAG}'"
|
2020-06-05 13:00:30 -05:00
|
|
|
|
2022-10-04 04:41:06 -05:00
|
|
|
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}
|