Try to fix cache path

This commit is contained in:
Hackintosh Five 2023-06-19 11:24:17 +01:00
parent 2e19c8c970
commit 24026b014c

View File

@ -12,7 +12,7 @@ build:
- .cache/ - .cache/
script: script:
- /kaniko/executor - /kaniko/executor
--cache --cache-repo=oci:.cache --compressed-caching=false --use-new-run --cleanup --cache --cache-repo=oci:$(pwd)/.cache --compressed-caching=false --use-new-run --cleanup
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"