docs: --sub-path

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-04-08 14:08:57 -03:00
parent 8b50908e48
commit 4bd1444be0
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
1 changed files with 6 additions and 0 deletions

View File

@ -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