Skip to main content
Build and push container images for packages and modules that ship a Dockerfile. The command logs in once with your saved credentials, then for each target builds the image with docker build and pushes it with docker push, tagged <username>/<name>:<tag>. Targets without a Dockerfile are skipped. Publishing requires Docker credentials saved with docker:credentials:create.

Usage

talos docker:publish [options]

Examples

Build and push every package and module that has a Dockerfile:
talos docker:publish
Publish specific packages (comma-separated):
talos docker:publish --packages=gateway,worker
Publish specific modules:
talos docker:publish --modules=billing,catalog
Override the image tag (defaults to the package.json version, else latest):
talos docker:publish --modules=billing --tag=edge

Options

OptionDescriptionDefault
--packagesComma-separated package names to publish (under packages/).All packages and modules
--modulesComma-separated module names to publish (under modules/).All packages and modules
--tagImage tag to build and push.package.json version, else latest
--silentSuppress log output and the publishing spinner.false
With neither --packages nor --modules, every directory under packages/ and modules/ is treated as a candidate. Only those that ship a Dockerfile are built: a discovered target without one is reported as ignored, while an explicitly named target without one is an error. For any registry other than docker.io, the image reference is prefixed with the registry host (for example ghcr.io/ooneex/gateway:1.2.0). At the end the command prints a summary of how many targets were published versus ignored. See Publish to Docker Hub for the full workflow, including CI setup.