mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-01 07:30:54 -05:00
* Add caching of docker layers in CI Build required docker images for CI in a workflow step using buildkit's gha cache type. This will populate the local layer cache from github actions' cache. Builds in subsequent CI steps will be nearly instant, because all layers can be reused. * add minor change to see if build time is any faster --------- Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
15 lines
375 B
Bash
Executable File
15 lines
375 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Ensure current path is project root
|
|
cd "$(dirname "$0")/../"
|
|
|
|
cp docs/redoc/master/openapi.json openapi/tests/openapi.json
|
|
|
|
docker run --rm \
|
|
--network=host \
|
|
-e OPENAPI_FILE='openapi.json' \
|
|
-v "${PWD}"/openapi/tests:/code \
|
|
"$(docker buildx build --load -q ./openapi/tests)" sh -c /code/run_docker.sh
|