remove caching optimizations
This commit is contained in:
parent
9f1c595db0
commit
0702b08f0d
1 changed files with 1 additions and 11 deletions
12
action.yaml
12
action.yaml
|
|
@ -42,12 +42,6 @@ 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
|
||||||
|
|
||||||
|
|
@ -81,8 +75,4 @@ runs:
|
||||||
$DYNAMIC_BUILD_ARGS \
|
$DYNAMIC_BUILD_ARGS \
|
||||||
--destination="$REGISTRY_DOMAIN/${{ inputs.destination_image }}:${{ inputs.image_tag }}" \
|
--destination="$REGISTRY_DOMAIN/${{ inputs.destination_image }}:${{ inputs.image_tag }}" \
|
||||||
--cache=true \
|
--cache=true \
|
||||||
--cache-copy-layers=false \
|
--cache-repo="$CACHE_REPO_ARG
|
||||||
--cache-repo="$CACHE_REPO_ARG" \
|
|
||||||
--cache-dir=/workspace/.kaniko-cache \
|
|
||||||
--use-new-run=true \
|
|
||||||
--compressed-caching=true
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue