tailscale / tailscale/github-action
invalid value "nas1" for --exit-node; must be IP or unique node name
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use tailscale/github-action@v2 Github action. You can find my Github action code below
name: tailscale test
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Tailscale
uses: tailscale/github-action@v2
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
args: --reset --accept-routes --exit-node nas1
hostname: github-action-${{ github.run_id }}
However, when running above action, I am getting error invalid value "nas1" for --exit-node; must be IP or unique node name
I can successfully run Tailscale using nas1 as exit node when using Tailscale CLI
sudo tailscale up --authkey "${{ secrets.TAILSCALE_AUTHKEY }}" --hostname "github-action-${{ github.run_id }}"
sudo tailscale up --reset --accept-routes --exit-node "nas1" --hostname "github-action-${{ github.run_id }}"
Could you guide me on how to debug this issue, please?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tailscale/github-action@v2 entry point and compare how its args value invokes --exit-node with the two Tailscale CLI commands shown in the issue. Reproduce the workflow using nas1, then determine what change is needed for the action to accept the same unique node name successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100