Skip to content

Commit

Permalink
fix: kaniko build cache
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl committed Sep 30, 2024
1 parent 4ac26da commit f55de68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/builder/image_builder/image_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,10 @@ def _build_container_args(dockerfile_mount_path: str, image_tag: str) -> list[st
f"--destination={REGISTRY}/{USER_IMAGE_REPOSITORY}:{image_tag}",
"--cache=true",
"--log-timestamp=true",
"--snapshotMode=redo",
"--snapshot-mode=redo",
"--push-retry=3",
"--cache-copy-layers",
"--cache-run-layers",
"--log-format=text",
f"--verbosity={('debug' if settings.LOG_LEVEL == 'DEBUG' else 'info')}",
]
Expand Down

0 comments on commit f55de68

Please sign in to comment.