docs: fix readme sample typo (#2792)

Signed-off-by: zhangzhiqiang02 <zhangzhiqiang02@megvii.com>
This commit is contained in:
zhangzhiqiangcs 2023-10-18 10:36:49 +08:00 committed by GitHub
parent d2c8b26247
commit aac7360ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ provide a kaniko cache warming image at `gcr.io/kaniko-project/warmer`:
```shell
docker run -v $(pwd):/workspace gcr.io/kaniko-project/warmer:latest --cache-dir=/workspace/cache --image=<image to cache> --image=<another image to cache>
docker run -v $(pwd):/workspace gcr.io/kaniko-project/warmer:latest --cache-dir=/workspace/cache --dockerfile=<path to dockerfile>
docker run -v $(pwd):/workspace gcr.io/kaniko-project/warmer:latest --cache-dir=/workspace/cache --dockerfile=<path to dockerfile> --build-args version=1.19
docker run -v $(pwd):/workspace gcr.io/kaniko-project/warmer:latest --cache-dir=/workspace/cache --dockerfile=<path to dockerfile> --build-arg version=1.19
```
`--image` can be specified for any number of desired images. `--dockerfile` can