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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 14, 2025
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: cssnr/stack-deploy-action@28c3c6f42b225af7100652b459621c0c966fd901 # v1.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
nameDocker Stack Nameyes
fileDocker Compose Filenodocker-compose.yaml
modeDeploy Modenoswarm
argsCompose Argumentsno--remove-orphans --force-recreate
hostRemote Docker Hostyes
portRemote Docker Portno22
userRemote Docker Useryes
passRemote Docker Passno
ssh_keyRemote SSH Key Fileno
disable_keyscanDisable SSH Key Scanno
env_fileEnvironment Fileno
detachDetach Flagnotrue
prunePrune Flagnofalse
resolve_imageResolve Image Flagnoalways
registry_authEnable Registry Authnofalse
registry_hostRegistry Auth Hostnameno
registry_userRegistry Auth Usernameno
registry_passRegistry Auth Passwordno
summaryAdd Summary to Jobnotrue

no outputs