Skip to content

Commit

Permalink
Connect to tailscale
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiling-liftoff committed Nov 6, 2024
1 parent 789955c commit 93639cb
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
role-skip-session-tagging: true
role-duration-seconds: 3600

- name: Connect to Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TAILSCALE_CLIENT_ID }}
oauth-secret: ${{ secrets.TAILSCALE_SECRET }}
tags: tag:dmx-prod

- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
Expand All @@ -38,7 +45,10 @@ jobs:
run: |
VERSION="${GITHUB_REF_NAME:1}"
make k8s=$VERSION
- name: Disconnect form Tailscale
run: sudo tailscale down

build-us-east-1-arm64:
runs-on: ubuntu-latest
steps:
Expand All @@ -61,6 +71,13 @@ jobs:
role-skip-session-tagging: true
role-duration-seconds: 3600

- name: Connect to Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TAILSCALE_CLIENT_ID }}
oauth-secret: ${{ secrets.TAILSCALE_SECRET }}
tags: tag:dmx-prod

- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
Expand All @@ -71,3 +88,6 @@ jobs:
run: |
VERSION="${GITHUB_REF_NAME:1}"
make k8s=$VERSION arch=arm64
- name: Disconnect form Tailscale
run: sudo tailscale down

0 comments on commit 93639cb

Please sign in to comment.