Add kaniko cache
This commit is contained in:
parent
eea212c7df
commit
39f942c808
@ -6,8 +6,13 @@ build:
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:v1.11.0-debug
|
||||
entrypoint: [""]
|
||||
cache:
|
||||
key: cache
|
||||
paths:
|
||||
- /cache/
|
||||
script:
|
||||
- /kaniko/executor
|
||||
--cache --cache-dir=/cache --compressed-caching=false --use-new-run --cleanup
|
||||
--context "${CI_PROJECT_DIR}"
|
||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user