actions-marketplace-validations/Docker Remote Deployment
A GitHub Action that supports docker-compose and Docker Swarm deployments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| remote_docker_host | Remote Docker host ie (user@host). | yes | — |
| remote_docker_port | Remote Docker ssh port ie (22). | no | 22 |
| ssh_public_key | Remote Docker SSH public key eg (~/.ssh/rsa_id.pub). | yes | — |
| ssh_private_key | SSH private key used to connect to the docker host eg (~/.ssh/rsa_id). | yes | — |
| args | Deployment command args. | yes | — |
| deployment_mode | Deployment mode either docker-swarm or docker-compose. Default is docker-compose. | no | — |
| copy_stack_file | Copy stack file to remote server and deploy from the server. Default is false. | no | — |
| deploy_path | The path where the stack files will be copied to. Default ~/docker-deployment. | no | — |
| stack_file_name | Docker stack file used. Default is docker-compose.yml. | no | — |
| keep_files | Number of the files to be kept on the server. Default is 3. | no | — |
| docker_prune | A boolean input to trigger docker prune command. Default is false. | no | — |
| pre_deployment_command_args | The args for the pre deploument command. | no | — |
| pull_images_first | Pull docker images before deploying. Default is false. | no | — |
| docker_registry_username | The docker registry username. | no | — |
| docker_registry_password | The docker registry password. | no | — |
| docker_registry_uri | The docker registry URI. Default is https://registry.hub.docker.com. | no | — |
Outputs
no outputs