Created
January 12, 2026 19:14
-
-
Save Cyberax/9edbde51380bf7e1b298245464a24c55 to your computer and use it in GitHub Desktop.
TailSSH
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: Setup Tailscale for SSH access | |
| uses: tailscale/github-action@f166a64f7bdc3fe0d749e973ef5ed6bd9b47775f | |
| continue-on-error: false | |
| with: | |
| tags: tag:ci | |
| args: '--ssh' | |
| oauth-client-id: "..." | |
| oauth-secret: "...." | |
| # 180 seconds should be enough time for initial connect | |
| - name: Wait for SSH | |
| shell: bash | |
| run: | | |
| while true; do | |
| sleep 180s | |
| # Docker container may not have wtmp, infer activity from ps | |
| pgrep -u root -x login || break | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment