Command Line Tools
wheels deploy build push
Build the image locally and push it to the configured registry. Runs on the control machine; no SSH, no remote hosts.
Synopsis
Section titled “Synopsis”wheels deploy build push [--version=<v>] [--destination=<name>] [--dry-run]| Flag | Description |
|---|---|
--version=<v> | Tag for the pushed image. Defaults to git short sha. |
--destination=<name> | Overlay destination config. |
--dry-run | Print the docker build + docker push commands without executing. |
Behavior
Section titled “Behavior”Uses the builder: block in deploy.yml:
docker buildwithcontext,dockerfile,args, andarchfrom config.docker push <image>:<version>.
If builder.remote: is set, the build happens on the remote builder over SSH instead of locally. Multi-arch builds require docker buildx (run build create once).
Example
Section titled “Example”wheels deploy build push