From 873166ae9f47e488058eb4bf6ebbb555ce4addfc Mon Sep 17 00:00:00 2001 From: "ekin.tertemiz" Date: Tue, 20 Oct 2026 23:29:18 +0200 Subject: [PATCH] restore cache --- action.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/action.yaml b/action.yaml index abb8a37..5e98ba5 100644 --- a/action.yaml +++ b/action.yaml @@ -86,7 +86,8 @@ runs: $TARGET_ARG \ $DYNAMIC_BUILD_ARGS \ --destination="$REGISTRY_DOMAIN/${{ inputs.destination_image }}:${{ inputs.image_tag }}" \ - --cache=false - # --use-new-run=true \ - # --snapshot-mode=redo \ - # --cache-repo="$CACHE_REPO_ARG" \ No newline at end of file + --cache=true \ + --use-new-run=true \ + --snapshot-mode=redo \ + --cache-dir="${{ forgejo.workspace }}/.kaniko-local-cache" \ + --cache-repo="$CACHE_REPO_ARG" \ No newline at end of file