tailscale-rdesktop-code #2
This file contains 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: tailscale-rdesktop-code | |
on: | |
workflow_dispatch: | |
jobs: | |
rdesktop-test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Run system container with `podman` | |
run: | | |
podman run -d --name rdesktop ghcr.io/gbraad-devenv/fedora/code:41 | |
- name: Tailscale setup (root) | |
run: | | |
until podman exec rdesktop tailscale up --auth-key ${TAILSCALE_AUTHKEY} --hostname github-${HOSTNAME} | |
do | |
sleep 0.1 | |
done | |
podman exec rdesktop tailscale set --ssh | |
env: | |
TAILSCALE_AUTHKEY: ${{ secrets.TAILSCALE_AUTHKEY}} | |
- name: Hang around | |
run: | | |
until podman exec rdesktop systemctl is-active kasmvncserver | |
do | |
sleep 1 | |
done | |
IP=`podman exec rdesktop tailscale ip -4` | |
echo "Open in your web browser: https://${IP}:8444" | |
sleep infinity |