RelevanceAI / github-tailscale-action

A GitHub Action to connect your workflow to your Tailscale network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailscale GitHub Action

This GitHub Action connects to your Tailscale network by adding a step to your workflow.

  - name: Tailscale
    uses: tailscale/github-action@v1
    with:
      authkey: ${{ secrets.TAILSCALE_AUTHKEY }}

Subsequent steps in the Action can then access nodes in your Tailnet.

TAILSCALE_AUTHKEY is an authkey for the Tailnet to be accessed, and needs to be populated in the Secrets for your workflow. Ephemeral authkeys tend to be a good fit for GitHub runners, as they clean up their state automatically shortly after the runner finishes.


Maintainer's Notes

This repository is provided and maintained by Tailscale. The CI script in this repository uses an ephemeral authkey generated for the Tailnet owned by TailscaleGitHubActionBot.github and stored as a Secret as described above.

About

A GitHub Action to connect your workflow to your Tailscale network.

License:BSD 3-Clause "New" or "Revised" License