Repository navigation
v1.0.0 – Initial Release
This is the first stable release of the original Bash-based Docker Deploy GitHub Action, built to automate remote deployments over SSH with support for both Docker Compose and Docker Swarm.
Features
-
Seamless Remote Deployment
Uploads Docker Compose or Swarm stack files directly to your server via SSH and deploys automatically. -
Automatic Project Setup
Creates the target directory if it doesn’t exist, sets750permissions and ensures correct ownership. -
Additional File Support
Uploads extra files such as.env,traefik.yml,nginx.conf, or other custom configuration files. -
Private Registry Login
Supports secure Docker registry authentication (e.g., Docker Hub, GitHub Container Registry). -
Network Management
Creates missing Docker networks using specified drivers (bridge,overlay, etc.), with attachable support in Swarm. -
Reliable Deployment Modes
Supports:- Docker Compose via
docker-compose up - Docker Swarm via
docker stack deploy
- Docker Compose via
-
Service Health Verification
Ensures services start successfully and remain healthy after deployment. -
Optional Cleanup
Can optionally perform a Docker system prune (removing unused images, containers, volumes, etc.) after deployment. -
Detailed Logs and Security
Provides structured logs with per-step output. Automatically deletes SSH key after deployment for added security.
Requirements
- Docker must be installed on the remote server.
- SSH access to the server (key-based authentication required).
- Docker Compose is required for
composemode. - Docker Swarm must be initialised and the server must be a manager for
stackmode.
Tags
v1.0.0: First stable releasev1: Latest stable major version (recommended for use in GitHub Actions)
Need help? Check the README or open an issue. Contributions are welcome!