Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the "build dev" command to "build.md" #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/commands/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ $ kamal build
Commands:
kamal build create # Create a build setup
kamal build deliver # Build app and push app image to registry then pull image on servers
kamal build dev # Build using the working directory, tag it as dirty, and push to local image store.
kamal build details # Show build setup
kamal build help [COMMAND] # Describe subcommands or one specific subcommand
kamal build pull # Pull app image from registry onto servers
kamal build push # Build and push app image to registry
kamal build remove # Remove build setup
```

The `build dev` and `build push` commands also support an `--output` option which specifies where the image should be pushed. `build push` defaults to "registry", and `build dev` defaults to "docker" which is the local image store. Any exported type supported by the `docker buildx build` option [`--output`](https://docs.docker.com/reference/cli/docker/buildx/build/#output) is allowed.


Examples:

```bash
Expand Down