No description
Find a file
Will Norris 8b804aa882 preserve environment variables when calling sudo
This allows configuring the various aspects of tailscale that use
environment variables (such as OAuth authekeys, amongst others).

Updates #59

Signed-off-by: Will Norris <will@tailscale.com>
2023-05-15 08:23:50 -07:00
.github/workflows Adding Continuous integration test. 2021-08-05 18:00:33 -07:00
action.yml preserve environment variables when calling sudo 2023-05-15 08:23:50 -07:00
LICENSE create deployable GitHub action 2021-04-23 18:20:24 -04:00
README.md Fix code snippet indentation. 2021-09-25 10:39:52 +02:00

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.