alcharra/Docker Deploy Action (Go)

Uploads Docker Compose/Stack files and deploys via SSH using a Go-based binary

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ssh_hostThe hostname or IP address of the remote server you're deploying to.yes
ssh_portThe port used to connect via SSH.no22
ssh_userThe SSH username used to connect to the server.yes
ssh_keyYour private SSH key for authenticating with the server.yes
ssh_key_passphrase(If applicable) The passphrase used to unlock the SSH key.no
ssh_known_hostsThe contents of your `known_hosts` file, used to verify the server's identity.no
ssh_fingerprintThe server's SSH fingerprint in SHA256 format (alternative to `known_hosts`).no
ssh_timeoutSSH connection timeout duration (e.g. `10s`, `30s`, `1m`).no10s
project_pathThe full path on the server where files will be uploaded and deployed.yes
deploy_fileThe name of your main deployment file (e.g. `docker-compose.yml` or `docker-stack.yml`).yesdocker-compose.yml
extra_filesA list of extra files or folders to upload. Use a multi-line format — one path per line.no
modeDeployment method: either `compose` or `stack`.nocompose
stack_nameName of the Docker stack (required if using `stack` mode).no
compose_pullPull the latest images before starting services (`true` or `false`).notrue
compose_buildBuild images before starting services (`true` or `false`).nofalse
compose_no_depsSkip starting linked services (`true` or `false`).nofalse
compose_target_servicesA list of specific services to restart. Use a multi-line format — one service per line.no
docker_networkThe name of the Docker network to use or create if missing.no
docker_network_driverThe network driver to use (`bridge`, `overlay`, etc.).nobridge
docker_network_attachableAllow standalone containers to attach to the network (`true` or `false`).nofalse
docker_pruneType of Docker clean-up to run after deployment (e.g. `system`, `volumes`, `none`).nonone
registry_hostThe container registry hostname (e.g. `ghcr.io`) if login is required.no
registry_userUsername for the registry.no
registry_passPassword or token for the registry.no
enable_rollbackAutomatically roll back if deployment fails (`true` or `false`).nofalse
env_varsEnvironment variables to include in a `.env` file uploaded to the server.no
verboseShow extra internal command details and debug output (`true` or `false`).nofalse

no outputs