From 4bd1444be03302bd1d5ab0161dec6e9158606cb0 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 8 Apr 2020 14:08:57 -0300 Subject: [PATCH] docs: --sub-path Signed-off-by: Carlos Alexandro Becker --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2e0de1929..726dc2708 100644 --- a/README.md +++ b/README.md @@ -432,6 +432,12 @@ If `--destination=gcr.io/kaniko-project/test`, then cached layers will be stored _This flag must be used in conjunction with the `--cache=true` flag._ +#### --context-sub-path + +Set a sub path within the given `--context`. + +Its particularly useful when your context is, for example, a git repository, +and you want to build one of its subfolders instead of the root folder. #### --digest-file