Skip to content

jetrails/github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

GitHub Actions

A collection of reusable GitHub Actions maintained by JetRails.

Actions

Opens a background SSH tunnel to a remote host using local port forwarding.

Inputs

Input Description Required Default
ssh-user SSH user Yes -
ssh-host SSH host Yes -
ssh-private-key SSH private key for authentication Yes -
source-port Port to bind to locally Yes -
target-port Port to forward to through the tunnel Yes -
target-host Host to forward to through the tunnel No localhost

Usage

- uses: jetrails/github-actions/ssh-tunnel@v1
  with:
    ssh-user: ${{ secrets.SSH_USER }}
    ssh-host: ${{ secrets.SSH_HOST }}
    ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
    source-port: "3306"
    target-port: "3306"
    target-host: database.internal

About

Collection of Github Actions

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors