use multi stage caching
This commit is contained in:
parent
65f0e22dd5
commit
dfd87595f4
1 changed files with 6 additions and 0 deletions
|
|
@ -42,6 +42,12 @@ runs:
|
||||||
env:
|
env:
|
||||||
INPUT_BUILD_ARGS: ${{ inputs.build_args }}
|
INPUT_BUILD_ARGS: ${{ inputs.build_args }}
|
||||||
run: |
|
run: |
|
||||||
|
# 0. Enforce cache elision feature flags at the binary execution layer
|
||||||
|
export FF_KANIKO_SKIP_CACHED_STAGES=true
|
||||||
|
export FF_KANIKO_INFER_CROSS_STAGE_CACHE_KEY=true
|
||||||
|
export FF_KANIKO_CACHE_LOOKAHEAD=true
|
||||||
|
export FF_KANIKO_ROLLING_CACHE_KEY=true
|
||||||
|
|
||||||
# 1. Initialize Kaniko Docker config directory
|
# 1. Initialize Kaniko Docker config directory
|
||||||
mkdir -p /kaniko/.docker
|
mkdir -p /kaniko/.docker
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue