macOS runner exit node support

未关闭
#187 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
github-actions, macos
领域
ci-cd

调研方向

首先,在 macos-15 runner 上使用 tailscale/github-action@v3 重现所提供的 workflow,然后使用列出的 tailscale status 和 tailscale set 命令,将其行为与 Linux workflow 进行比较。完成标准是确定 exit-node mode 是否能在 macOS 上工作,并记录任何限制或所需配置。

由索引模型根据 Issue 内容生成。

描述

needs-triage

Hi,

I’m trying to use the tailscale/github-action in a GitHub Actions workflow running on a macOS runner (macos-15) with an exit node.

While the same workflow works fine on Linux runners, it doesn’t seem to work properly on macOS.

My questions are:

  • Is exit node mode currently supported when using this action on macOS runners?
  • If it is supported, are there any known limitations or required flags to make it work?
name: Use Tailscale Exit Node
on: push
jobs:
  run-with-exit-node:
    runs-on: macos-15
    steps:
      - name: before
        run: |
          echo "Public IP:" && curl -s https://ifconfig.me
      - name: Connect to Tailscale
        timeout-minutes: 3
        uses: tailscale/github-action@v3
        with:
          oauth-client-id: ${{ secrets.TAILSCALE_OAUTH_CLIENT_ID }}
          oauth-secret: ${{ secrets.TAILSCALE_OAUTH_SECRET }}
          version: ${{ vars.TAILSCALE_VERSION }}
          tags: ${{ vars.TAILSCALE_TAGS }}
          use-cache: true
      - name: Wait & list nodes
        run: |
          sleep 3
          sudo -E tailscale status
      - name: Set exit node by name
        run: |
          sudo -E tailscale set --exit-node="ci_exit_node" --exit-node-allow-lan-access=true
      - name: after
        run: |
          echo "Public IP:" && curl -s https://ifconfig.me
主要语言
TypeScript
星标
938
派生
137
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tailscale/github-action 的其他 Issue

查看 tailscale/github-action 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。