Deploy Docker Swarm cluster services stack
Version updated for https://github.com/sovarto/deploy-swarm-service to version v1.1.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The deploy-swarm-service GitHub Action automates the deployment of a service to a Docker Swarm cluster. It performs two main tasks: running npm ci and bundling the project, then committing the resulting dist directory. This ensures that only necessary changes are pushed to the repository, reducing unnecessary uploads and improving deployment efficiency.
What’s Changed
- feat: Update to latest Docker version (6435c1d)
- feat: Explicitly set traefik inbound network (70d83f9)
- feat: Automatically set placement preferences based on placement constraints to spread containers of a service across nodes (51af2c2)
- feat: Add support for depends_on (688c023)
- feat: Add support for service labels (a36e5ea)
- fix: Fix restart policy to always restart because containers sometimes exit with code 0 even though they had an error (01b34f4)
- feat: Add support for multiple external routes (d99208c)
- feat: Improve update config (3c87f67)
- feat: Add support for mounts, max replicas per node and stop signal and grace period (90fa02a)
- feat: Add support for resource limits and reservations (b33b12f)