Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid value "nas1" for --exit-node; must be IP or unique node name #123

Open
borecz opened this issue May 10, 2024 · 0 comments
Open

invalid value "nas1" for --exit-node; must be IP or unique node name #123

borecz opened this issue May 10, 2024 · 0 comments

Comments

@borecz
Copy link

borecz commented May 10, 2024

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

image

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant