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
This GitHub Action automates the deployment of a Docker Swarm service by executing commands to build and package the application before pushing it. It ensures that all necessary dependencies are installed, bundles the project using npm, and then commits the dist directory containing the compiled files to your repository. This setup helps streamline the deployment process by handling the build and packaging tasks before manual intervention is required.
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)