hantastic3/SSH Docker Deploy
Logs into a host over SSH, updates a docker-compose service tag, pulls & restarts containers, and prunes.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| host | SSH host (IP or domain) | yes | — |
| username | User to SSH as | yes | — |
| ssh_key | Private key to use for SSH | yes | — |
| registry | Docker registry (e.g. xyz.aliyuncs.com or AWS ECR URL) | no | "" |
| repository | Image repository name (e.g. my-org/my-app) | no | "" |
| repository_uri | Full image URI without tag (e.g. registry.example.com/my-org/my-app). If set, overrides `registry` + `repository`. | no | "" |
| image_tag | New image tag to deploy | yes | — |
| aliyun_username | Aliyun registry username (if using aliyuncs) | no | "" |
| aliyun_password | Aliyun registry password | no | "" |
| working_directory | Path on host to your docker-compose directory | yes | — |
| compose_up_args | Extra args for `docker compose up` (default: -d) | no | -d |
Outputs
no outputs