docs: document --no-push-cache flag in README.md (#3188)

This commit is contained in:
Aaron Prindle 2024-06-04 12:09:08 -07:00 committed by GitHub
parent 6a340c6a1f
commit f087f4ac24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -91,6 +91,7 @@ _If you are interested in contributing to kaniko, see
- [Flag `--log-format`](#flag---log-format)
- [Flag `--log-timestamp`](#flag---log-timestamp)
- [Flag `--no-push`](#flag---no-push)
- [Flag `--no-push-cache`](#flag---no-push-cache)
- [Flag `--oci-layout-path`](#flag---oci-layout-path)
- [Flag `--push-retry`](#flag---push-retry)
- [Flag `--registry-certificate`](#flag---registry-certificate)
@ -948,6 +949,13 @@ Set this flag if you only want to build the image, without pushing to a
registry. This can also be defined through `KANIKO_NO_PUSH` environment
variable.
NOTE: this will still push cache layers to the repo, to disable pushing cache layers use `--no-push-cache`
#### Flag `--no-push-cache`
Set this flag if you do not want to push cache layers to a
registry. Can be used in addition to `--no-push` to push no layers to a registry.
#### Flag `--oci-layout-path`
Set this flag to specify a directory in the container where the OCI image layout