Skip to Content
āš ļø Dockflow is currently under development. Bugs may occur. Please report any issues on GitHub.
ConfigurationBuild Strategy

Build Strategy

Dockflow supports different strategies for building and transferring Docker images.

Strategies Overview

StrategyBuild LocationTransfer Method
Local (default)CI/CD runnerSSH streaming
Local + RegistryCI/CD runnerDocker registry
RemoteServerNone

Local Build

By default, images are built in your CI/CD pipeline and transferred to the server via SSH. No additional configuration is required.

Registry Build

For multi-node Swarm clusters, use a Docker registry so worker nodes can pull images. See Docker Registry for configuration.

Remote Build

Build images directly on the server instead of transferring them:

# .deployment/config.yml options: remote_build: true

This clones your repository on the server and builds locally. Useful for large images or slow network connections.

For private repositories, add a GIT_TOKEN secret to your CI/CD environment.