feat: Add experimental asynchronous SSH connection support #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Hussh Test Server GHCR Image | |
| on: | |
| push: | |
| paths: | |
| - 'tests/setup/**' | |
| pull_request: | |
| paths: | |
| - 'tests/setup/**' | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| # Login to GitHub Container Registry only on push events | |
| - name: Login to GitHub Container Registry | |
| if: github.event_name == 'push' | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: jacobcallahan | |
| password: ${{ secrets.GHCR_TOKEN }} | |
| # Build and push Docker image | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: ./tests/setup | |
| # Conditionally push based on the event type | |
| push: ${{ github.event_name == 'push' }} | |
| tags: ghcr.io/jacobcallahan/hussh/hussh-test-server:latest |