diff --git a/action.yaml b/action.yaml index 81c508e..4237479 100644 --- a/action.yaml +++ b/action.yaml @@ -42,11 +42,6 @@ runs: env: INPUT_BUILD_ARGS: ${{ inputs.build_args }} 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 mkdir -p /kaniko/.docker @@ -81,4 +76,6 @@ runs: $DYNAMIC_BUILD_ARGS \ --destination="$REGISTRY_DOMAIN/${{ inputs.destination_image }}:${{ inputs.image_tag }}" \ --cache=true \ + --use-new-run=true \ + --snapshot-mode=redo \ --cache-repo="$CACHE_REPO_ARG" \ No newline at end of file