{"id":13496210,"url":"https://github.com/sagebind/docker-swarm-deploy-action","last_synced_at":"2025-03-28T18:31:38.884Z","repository":{"id":65155682,"uuid":"166611232","full_name":"sagebind/docker-swarm-deploy-action","owner":"sagebind","description":"Deploy a stack to a remote Docker swarm.","archived":true,"fork":false,"pushed_at":"2020-02-06T05:26:55.000Z","size":16,"stargazers_count":41,"open_issues_count":1,"forks_count":32,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:47:29.416Z","etag":null,"topics":["actions","github","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/docker-swarm-deploy","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sagebind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-20T01:24:16.000Z","updated_at":"2025-01-27T23:23:53.000Z","dependencies_parsed_at":"2023-01-05T05:02:53.338Z","dependency_job_id":null,"html_url":"https://github.com/sagebind/docker-swarm-deploy-action","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"f2db4b23a5be98bb8db6e11f12437652ebeb2f71"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Fdocker-swarm-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Fdocker-swarm-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Fdocker-swarm-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Fdocker-swarm-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagebind","download_url":"https://codeload.github.com/sagebind/docker-swarm-deploy-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246080570,"owners_count":20720553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github","github-actions"],"created_at":"2024-07-31T19:01:43.945Z","updated_at":"2025-03-28T18:31:38.605Z","avatar_url":"https://github.com/sagebind.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Docker Swarm Deploy Action\n\nA [GitHub Action](https://github.com/features/actions) that enables you to publish your app as a [Docker stack](https://docs.docker.com/engine/swarm/stack-deploy/) to a remote Docker swarm.\n\n## Example\n\nBelow is a brief example on how the action can be used:\n\n```yaml\n- name: Deploy to swarm\n  uses: sagebind/docker-swarm-deploy-action@v2\n  with:\n    remote_host: ssh://user@myswarm.com\n    ssh_private_key: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}\n    ssh_public_key: ${{ secrets.DOCKER_SSH_PUBLIC_KEY }}\n    args: stack deploy --compose-file stack.yaml coolapp\n```\n\nIf you are deploying any private Docker images, you can use the [Docker Login](https://github.com/marketplace/actions/docker-login) action to first log in to your private registry, and then provide the `--with-registry-auth` flag to `docker stack deploy` to use the logged in credentials during deployment.\n\n## Inputs\n\nBelow are all of the supported inputs. Some inputs used to authenticate with your swarm should be kept private, and should be supplied as secrets for security.\n\n### `args`\n\nArguments to pass to the `docker` command after connecting to the remote swarm.\n\n### `remote_host`\n\nSpecifies how to connect to your swarm with a Docker host to connect to, using the same syntax as the Docker [`--host` command line flag](https://docs.docker.com/engine/reference/commandline/cli/). This must be a manager node in your swarm for most operations to work.\n\n### `ssh_public_key`\n\nWhen connecting to Docker over SSH, this must contain the SSH public key of the server for verification. Optional.\n\n### `ssh_private_key`\n\nWhen connecting to Docker over SSH, this must contain the SSH private key to use to connect. Optional.\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagebind%2Fdocker-swarm-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagebind%2Fdocker-swarm-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagebind%2Fdocker-swarm-deploy-action/lists"}