Move cache into project dir

This commit is contained in:
Hackintosh Five 2023-06-19 11:18:44 +01:00
parent 11c52cecc9
commit 2e19c8c970

View File

@ -9,10 +9,10 @@ build:
cache:
key: cache
paths:
- /cache/
- .cache/
script:
- /kaniko/executor
--cache --cache-repo=oci:/cache --compressed-caching=false --use-new-run --cleanup
--cache --cache-repo=oci:.cache --compressed-caching=false --use-new-run --cleanup
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"