Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Choose a tag to compare

@alcharra alcharra released this 02 Mar 23:45
· 18 commits to main since this release

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, sets 750 permissions 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
  • 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 compose mode.
  • Docker Swarm must be initialised and the server must be a manager for stack mode.

Tags

  • v1.0.0: First stable release
  • v1: Latest stable major version (recommended for use in GitHub Actions)

Need help? Check the README or open an issue. Contributions are welcome!