Skip to content

Commit

Permalink
docs: document --no-push-cache flag in README.md (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-prindle authored Jun 4, 2024
1 parent 6a340c6 commit f087f4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f087f4a

Please sign in to comment.