ci: optimize kaniko build with --snapshot-mode=redo to prevent OOM

This commit is contained in:
fchinembiri 2026-05-08 18:36:27 +02:00
parent fd931f1cfc
commit 49945abbea
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ jobs:
--destination=frankchine/geocrop-${{ matrix.component }}:${{ gitea.sha }} --destination=frankchine/geocrop-${{ matrix.component }}:${{ gitea.sha }}
--destination=frankchine/geocrop-${{ matrix.component }}:latest --destination=frankchine/geocrop-${{ matrix.component }}:latest
--cache=true --cache=true
--snapshot-mode=redo
--use-new-run
env: env:
DOCKER_CONFIG: ${{ gitea.workspace }}/.docker DOCKER_CONFIG: ${{ gitea.workspace }}/.docker