actions-marketplace-validations/Docker Stack Deploy Action

Deploy a Docker stack on a Docker Swarm

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/kitconcept_docker-stack-deploy@f941c3eadaefbb147f16e22c9f358b9a344fc355 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
registryContainer registry to useno""
usernameContainer registry usernameno""
passwordContainer registry passwordno""
remote_hostHost running Docker Swarmyes
remote_portSSH port on the host running Docker Swarmno22
remote_userUser to connect to remote hostyes
remote_private_keyPrivate key used for ssh authenticationyes
deploy_timeoutTimeout for the deploy check (in seconds)no600
resolve_imageQuery the registry to resolve image digest and supported platforms before deploy (Supported values: always, changed, never)always
prunePrune services that are not defined in the stack file (1 to enable, 0 to disable)0
stack_filePath to the stack file to be used for deployyes
stack_nameName of the stack to be deployedyes
stack_paramAdditional stack parameter valueno""
env_fileAdditional environment variables in the format VAR_01=VALUE VAR_02=VALUEno""
debugDebug informationno0
scale_afterService to scale after successful deploy (example: servicename=1)""

no outputs