Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FarisZR/docker-compose-gitops-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: FarisZR/docker-compose-gitops-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/composite-action-conversion
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 27, 2025

  1. Refactor: Convert Docker action to composite action for speed and add…

    … tests
    
    - Converted the Docker-based GitHub Action to a composite action.
      This speeds up execution by removing the need for Docker image build/pull for the action itself.
    - All original inputs and core functionality are preserved.
    - Added a comprehensive testing workflow (`.github/workflows/test.yml`)
      that uses a service container for SSH and mocks Docker commands to verify action behavior across various scenarios (SSH, upload, Swarm, Login, Tailscale).
    - Updated README.md to reflect the change to a composite action and to document the new testing strategy.
    - Removed obsolete `Dockerfile` and `docker-entrypoint.sh`.
    google-labs-jules[bot] committed Jun 27, 2025
    Configuration menu
    Copy the full SHA
    4ec8a4a View commit details
    Browse the repository at this point in the history
  2. Fix: Correct test workflow and ensure ssh dir exists on service conta…

    …iner
    
    - Reverted .github/workflows/test.yml to the correct version which uses GITHUB_OUTPUT for keys, netcat for port checking, and has better service readiness logic.
    - Modified the test workflow to explicitly create /root/.ssh directory on the SSH service container before attempting to copy the public key. This resolves potential errors if the directory doesn't exist by default in some edge cases of the service image or its startup.
    
    This addresses the previously reported test failures.
    google-labs-jules[bot] committed Jun 27, 2025
    Configuration menu
    Copy the full SHA
    d3512a2 View commit details
    Browse the repository at this point in the history
  3. Fix: Use valid Docker tag for SSHD service in test workflow

    Updated .github/workflows/test.yml to use `rastasheep/ubuntu-sshd:jammy`
    instead of `rastasheep/ubuntu-sshd:22.04`, as the latter tag was not found.
    'jammy' corresponds to Ubuntu 22.04 and should resolve the Docker pull error
    for the test service container.
    google-labs-jules[bot] committed Jun 27, 2025
    Configuration menu
    Copy the full SHA
    d569768 View commit details
    Browse the repository at this point in the history
Loading