mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00
Speedup building docker images in CI (#3467)
This should significantly speedup building the pinecone and yggdrasil demos, as they now reuse the new `dendrite:buildcache`, which already builds all binaries.
This commit is contained in:
parent
a8d842bd05
commit
c56b2bfe33
9 changed files with 48 additions and 62 deletions
|
@ -6,6 +6,9 @@ TAG=${1:-latest}
|
|||
|
||||
echo "Building tag '${TAG}'"
|
||||
|
||||
docker build . --target monolith -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}
|
||||
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 .
|
Loading…
Add table
Add a link
Reference in a new issue