Skip to content

Commit

Permalink
chore: setup tailscale connection to k8s cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
oreze committed Jul 15, 2024
1 parent 5576344 commit 395e5b8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,17 @@ jobs:
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/yaup-api:${{ github.sha }} ./src/YetAnotherUnfinishedProject.API
docker push ${{ secrets.DOCKER_USERNAME }}/yaup-api:${{ github.sha }}
tailscale:
needs: build
runs-on: ubuntu-latest
environment: prod

steps:
- name: Connect to headscale network
uses: tailscale/github-action@v2
with:
authkey: ${{ secrets.HEADSCALE_API_KEY }}
tags: tag:ci
version: '1.66.3'
args: '--login-server=${{secrets.HEADSCALE_URL}} '

0 comments on commit 395e5b8

Please sign in to comment.