Commit b77f38ed authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

more caching

parent dbb496c1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ buildkit:
        --frontend dockerfile.v0 \
        --local context=${CUSTOM_BUILDPATH} \
        --local dockerfile=${CUSTOM_DOCKERFILE} \
        --import-cache type=registry,name="${IMAGE_PATH}:${CUSTOM_TAGPREFIX}-${CI_COMMIT_SHORT_SHA}" \
        --import-cache type=registry,name="${IMAGE_PATH}:local" \
        --import-cache type=local,src=.cache-${CACHE_DIR_SUFFIX} \
        --export-cache type=local,dest=.cache-${CACHE_DIR_SUFFIX} \
        --output type=image,name="${IMAGE_PATH}:${CUSTOM_TAGPREFIX}-${CI_COMMIT_SHORT_SHA}",push=true