Prepare a DinaSync deployment
This tutorial deploys a container image through a restricted DinaSync Docker strategy.
Before continuing, install and enroll DinaSync on a host that can reach the Codinamo control plane and the selected container Registry. The service account must be able to access the local Docker daemon.
Create a target
-
Open Targets in the active workspace.
-
Select New target.
-
Enter a display name and a pipeline reference such as
production. -
Assign an active DinaSync agent. A target may be created before enrollment, but a run cannot deploy through it until an agent is assigned.
-
Select Docker Compose, Docker container, or Docker Swarm.
-
Complete the strategy-specific fields and save.
The target receives a canonical TAR-… identifier and an immutable revision number.
Add the pipeline action
Add DinaSync Deploy after the action that publishes the image.
docker_push -> deploy
Configure:
- Deployment Target
-
production - Release
-
${docker_push.image_name}
The action resolves the target by reference name in the active workspace. At execution time, Codinamo records the exact target revision used by the job.
DinaSync claims the job over outbound mTLS, applies the selected Docker strategy, and sends command logs and terminal state back to the originating run.
Expected outputs
The deployment action declares job_id, target_id, target_revision, release, exit_code, output, and error_message.
Confirm the target host is running the requested image and inspect the run log for the Docker pull/update result. Automatic health checks and rollback are not available yet, so define independent service health monitoring before production use.
See Deployment model for the distinction between an agent and a target.