Update doc about push image (#1225)

This commit is contained in:
Hang Yan 2020-01-01 11:27:11 +08:00 committed by GitHub
parent 0a2fa1a978
commit ae12a2e39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,6 +192,8 @@ Kompose supports both building and pushing Docker images. When using the `build`
- Automatically be built with Docker using the `image` key specified within your file
- Be pushed to the correct Docker repository using local credentials (located at `.docker/config`)
If you do not want to push the image you have built, you and use the `--push-image=false` flag to disable it.
Using an [example Docker Compose file](https://raw.githubusercontent.com/kubernetes/kompose/master/examples/buildconfig/docker-compose.yml):
```yaml