diff --git a/README.md b/README.md index 8f16488d4..ed7d23255 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ _If you are interested in contributing to kaniko, see [DEVELOPMENT.md](DEVELOPME - [--cache-dir](#--cache-dir) - [--cache-repo](#--cache-repo) - [--cleanup](#--cleanup) - - [--digestfile](#--digestfile) + - [--digest-file](#--digest-file) - [--insecure](#--insecure) - [--insecure-pull](#--insecure-pull) - [--no-push](#--no-push) @@ -358,13 +358,13 @@ 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._ -#### --digestfile +#### --digest-file Set this flag to specify a file in the container. This file will receive the digest of a built image. This can be used to automatically track the exact image built by Kaniko. -For example, setting the flag to `--digestfile=/dev/termination-log` +For example, setting the flag to `--digest-file=/dev/termination-log` will write the digest to that file, which is picked up by Kubernetes automatically as the `{{.state.terminated.message}}` of the container.