cssnr/Docker Stack Deploy
Deploy a Docker Compose or Swarm Stack to a Remote Host over SSH with Password or Key File Authentication
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 14, 2025
- License
- GPL 3.0
Pinned Snippet
uses: cssnr/stack-deploy-action@28c3c6f42b225af7100652b459621c0c966fd901 # v1.5.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Docker Stack Name | yes | — |
| file | Docker Compose File | no | docker-compose.yaml |
| mode | Deploy Mode | no | swarm |
| args | Compose Arguments | no | --remove-orphans --force-recreate |
| host | Remote Docker Host | yes | — |
| port | Remote Docker Port | no | 22 |
| user | Remote Docker User | yes | — |
| pass | Remote Docker Pass | no | — |
| ssh_key | Remote SSH Key File | no | — |
| disable_keyscan | Disable SSH Key Scan | no | — |
| env_file | Environment File | no | — |
| detach | Detach Flag | no | true |
| prune | Prune Flag | no | false |
| resolve_image | Resolve Image Flag | no | always |
| registry_auth | Enable Registry Auth | no | false |
| registry_host | Registry Auth Hostname | no | — |
| registry_user | Registry Auth Username | no | — |
| registry_pass | Registry Auth Password | no | — |
| summary | Add Summary to Job | no | true |
Outputs
no outputs