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 01 Apr 22:07
· 7 commits to main since this release
79a3f08

v2.1.0 – Modular Rewrite & SSH Security Features

This release introduces a full modular rewrite of the deployment logic and adds several SSH security-related options, improving flexibility, security and maintainability across Compose and Stack deployments.

What’s New

  • Modular Shell Script Structure
    The deployment logic has been split into separate, focused scripts. This makes the action easier to understand, maintain and build upon.

  • Passphrase Support for SSH Keys
    Users can now provide an ssh_key_passphrase to support encrypted private keys using ssh-agent.

  • SSH Host Key Verification
    The action now supports:

    • ssh_known_hosts: full OpenSSH-compatible known_hosts content
    • fingerprint: a single-line public key for quick verification
    • If neither is provided, the host key is fetched via ssh-keyscan with a security warning
  • SSH Timeout Configuration
    A timeout input has been added to limit SSH connection attempts, helping prevent hanging builds in CI environments.

  • Conditional Compose Image Pulling
    Users can now set compose_pull to false to skip docker-compose pull, useful for offline or pre-pulled deployments.

Improvements

  • All deployment logic has been restructured for clarity and reusability
  • Docker Compose and Stack flows are now handled by separate scripts with correct environment and path handling
  • More accurate and consistent logging throughout the deploy process

Stability and Maintenance

  • Improved SSH connection handling with ConnectTimeout, ServerAliveInterval and ServerAliveCountMax
  • All changes are backwards compatible — no breaking changes introduced

Tags

  • v2.1.0: Latest release (recommended)
  • v2: Major version tag for stable workflows

Need help? Check the README, open an issue, or start a feature discussion.