From 42b6960a760217c0326b7cc6407b9df558816618 Mon Sep 17 00:00:00 2001 From: Lee Briggs Date: Sun, 7 Jul 2024 09:52:20 -0700 Subject: [PATCH] update readme Signed-off-by: Lee Briggs --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34c28ba..646f1f6 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ with any of the Users on the tailnet, it has to Tag its nodes. Nodes created by this Action are [marked as Ephemeral](https://tailscale.com/s/ephemeral-nodes) to be automatically removed by the coordination server a short time after they finish their run. The nodes are also [marked Preapproved](https://tailscale.com/kb/1085/auth-keys/) -on tailnets which use [Device Approval](https://tailscale.com/kb/1099/device-approval/) +on Tailnets which use [Device Approval](https://tailscale.com/kb/1099/device-approval/) ## Defining Tailscale version @@ -41,5 +41,17 @@ Which Tailscale version to use can be set like this: version: 1.52.0 ``` +If you'd like to specify the latest version, simply set the version as `latest` + +```yaml + - name: Tailscale + uses: tailscale/github-action@v2 + with: + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci + version: latest +``` + You can find the latest Tailscale stable version number at https://pkgs.tailscale.com/stable/#static.