Move cache into project dir
This commit is contained in:
parent
11c52cecc9
commit
2e19c8c970
@ -9,10 +9,10 @@ build:
|
|||||||
cache:
|
cache:
|
||||||
key: cache
|
key: cache
|
||||||
paths:
|
paths:
|
||||||
- /cache/
|
- .cache/
|
||||||
script:
|
script:
|
||||||
- /kaniko/executor
|
- /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}"
|
--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}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user