Skip to content

Commit f087f4a

Browse files
docs: document --no-push-cache flag in README.md (#3188)
1 parent 6a340c6 commit f087f4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ _If you are interested in contributing to kaniko, see
9191
- [Flag `--log-format`](#flag---log-format)
9292
- [Flag `--log-timestamp`](#flag---log-timestamp)
9393
- [Flag `--no-push`](#flag---no-push)
94+
- [Flag `--no-push-cache`](#flag---no-push-cache)
9495
- [Flag `--oci-layout-path`](#flag---oci-layout-path)
9596
- [Flag `--push-retry`](#flag---push-retry)
9697
- [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
948949
registry. This can also be defined through `KANIKO_NO_PUSH` environment
949950
variable.
950951

952+
NOTE: this will still push cache layers to the repo, to disable pushing cache layers use `--no-push-cache`
953+
954+
#### Flag `--no-push-cache`
955+
956+
Set this flag if you do not want to push cache layers to a
957+
registry. Can be used in addition to `--no-push` to push no layers to a registry.
958+
951959
#### Flag `--oci-layout-path`
952960

953961
Set this flag to specify a directory in the container where the OCI image layout

0 commit comments

Comments
 (0)