test local tailscale

This commit is contained in:
Guillaume LEGENDRE 2024-06-17 15:32:23 +02:00 committed by GitHub
parent 0f7d38e774
commit 6139c6fc18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,9 +58,15 @@ jobs:
- name: Inject slug/short variables - name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4.4.1 uses: rlespinasse/github-slug-action@v4.4.1
- name: Tailscale - name: Tailscale
uses: huggingface/tailscale-action@main uses: tailscale/github-action@v2
with: with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }} oauth-client-id: kV3YYMqHyM11CNTRL
oauth-secret: tskey-client-kV3YYMqHyM11CNTRL-payJPrYdsGaVhRahyevcFaXj7kq8BEF6
tags: tag:ci
#- name: Tailscale
# uses: huggingface/tailscale-action@main
# with:
# authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v2 uses: docker/login-action@v2
@ -68,12 +74,12 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to internal Container Registry #- name: Login to internal Container Registry
uses: docker/login-action@v2.1.0 # uses: docker/login-action@v2.1.0
with: # with:
username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }} # username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }}
password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }} # password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
registry: registry.internal.huggingface.tech # registry: registry.internal.huggingface.tech
- name: Login to Azure Container Registry - name: Login to Azure Container Registry
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v2.1.0 uses: docker/login-action@v2.1.0